Skip to content

Commit 1179d1c

Browse files
committed
add release
1 parent b194bad commit 1179d1c

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

release.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
3+
new=$1
4+
5+
if [ "$new" = "" ]; then
6+
echo -e "Must specify New tags (for create): Example command should be ./release.sh 2.0"
7+
exit 1
8+
fi
9+
10+
git fetch
11+
git push
12+
git tag -a $new -m "Release $new"
13+
git push origin $new

0 commit comments

Comments
 (0)