diff --git a/rc_script.sh b/rc_script.sh new file mode 100755 index 000000000..d24076047 --- /dev/null +++ b/rc_script.sh @@ -0,0 +1,21 @@ +#!/bin/bash +# RC Script + +RC_VERSION=1.11.1 +RC_NUM=1 + +git checkout master +git pull +git push origin master: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