vivo/rc_script.sh
Ralph O'Flinn abd40c25f5
updates to outdated URLs and branch names (#251) (#252)
updates to outdated URLs and branch names (typically master -> main)
2021-10-06 06:38:19 -05:00

21 lines
565 B
Bash
Executable file

#!/bin/bash
# RC Script
RC_VERSION=1.12.0
RC_NUM=1
git checkout main
git pull
git push origin main:rel-${RC_VERSION}-RC
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