Skip to content

Commit 0c4cdbe

Browse files
committed
version 0.0.1
1 parent c8718e9 commit 0c4cdbe

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Tools/addVersion.sh

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
3+
RELEASE_TAG=$1
4+
5+
if [ "${RELEASE_TAG}nothing" == "nothing" ]; then
6+
echo "Please give a release tag, e.g., 0.12.1"
7+
exit
8+
fi
9+
10+
echo "Adding release tag: $RELEASE_TAG"
11+
12+
git add -A
13+
git commit -m "version $RELEASE_TAG"
14+
git tag -a "$RELEASE_TAG" -m "version $RELEASE_TAG"
15+
git push
16+
git push --tags

0 commit comments

Comments
 (0)