forked from vivo-project/Vitro
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrc_script.sh
More file actions
executable file
·21 lines (15 loc) · 565 Bytes
/
Copy pathrc_script.sh
File metadata and controls
executable file
·21 lines (15 loc) · 565 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
# RC Script
RC_VERSION=1.13.0
RC_NUM=3
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