Parcourir la source

Set version to 1.0

Spiros Ioannou il y a 9 ans
Parent
commit
ec4be86182
1 fichiers modifiés avec 13 ajouts et 0 suppressions
  1. 13 0
      gittag.sh

+ 13 - 0
gittag.sh

@@ -0,0 +1,13 @@
+#!/bin/bash
+
+if [ $# -lt 1 ]; then
+   echo "Usage: gittag <tagname>" && exit 1
+fi
+
+#echo $1 > VERSION
+#git add VERSION
+git commit -m "Set version to $1"
+git push origin
+git tag -a $1 -m "Tagged version:$1"
+git push --tags
+