2020-03-07 10:17:33 -06:00
|
|
|
#!/bin/bash
|
|
|
|
# RC Script
|
|
|
|
|
2022-07-07 19:09:10 +02:00
|
|
|
RC_VERSION=1.13.0
|
2022-05-28 09:15:25 +02:00
|
|
|
RC_NUM=3
|
2020-03-07 10:17:33 -06:00
|
|
|
|
2022-05-28 09:15:25 +02:00
|
|
|
git checkout main
|
2022-05-28 09:15:25 +02:00
|
|
|
git pull
|
2022-05-28 09:15:25 +02:00
|
|
|
git push origin main:rel-${RC_VERSION}-RC
|
2020-03-07 10:17:33 -06:00
|
|
|
|
|
|
|
|
|
|
|
git checkout rel-${RC_VERSION}-RC
|
|
|
|
git tag -a "rel-${RC_VERSION}-RC-${RC_NUM}" -m "rel-${RC_VERSION}-RC-${RC_NUM}"
|
|
|
|
git push origin --tags
|
|
|
|
|
|
|
|
|
|
|
|
# Created Branch and Tag Examples
|
|
|
|
# (Branch) https://github.com/vivo-project/VIVO/tree/rel-1.11.1-RC
|
|
|
|
# (Tag) https://github.com/vivo-project/VIVO/tree/rel-1.11.1-RC-1
|
|
|
|
# (Branch) https://github.com/vivo-project/Vitro/tree/rel-1.11.1-RC
|
|
|
|
# (Tag) https://github.com/vivo-project/Vitro/tree/rel-1.11.1-RC-1
|