Skip to content

Commit 0f72b98

Browse files
committed
Update script for v2
1 parent 18a435f commit 0f72b98

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

tag-v1.sh

Lines changed: 0 additions & 10 deletions
This file was deleted.

tag-v2.sh

Lines changed: 10 additions & 0 deletions
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 v2 tag"
5+
git tag -d v2
6+
git push origin :v2
7+
git tag $tag
8+
git push origin $tag
9+
git tag v2
10+
git push origin v2

0 commit comments

Comments
 (0)