Skip to content

Commit

Permalink
new file: rc_script.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
roflinn committed Mar 7, 2020
1 parent 6fe6657 commit 300072b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions rc_script.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 300072b

Please sign in to comment.