Skip to content

Commit f39ebaa

Browse files
author
Steve Riesenberg
committed
Add tag-v1.sh
1 parent b7b5fe1 commit f39ebaa

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tag-v1.sh

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
tag="$1"
4+
echo "Tagging $tag and updating v1 tag"
5+
git tag -d v1
6+
git push origin :v1
7+
git tag $tag
8+
git push origin $tag
9+
git tag v1
10+
git push origin v1

0 commit comments

Comments
 (0)