Skip to content
Browse files

Add git-tag-version.sh

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
  • Loading branch information...
1 parent 0753f8d commit cc24b1dc752b3965a6a4b231372bd8e3a56b258c Mike McClurg committed
Showing with 10 additions and 0 deletions.
  1. +10 −0 git-tag-version.sh
View
10 git-tag-version.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+# Tag the master and debian branch HEADs with the version in ./VERSION,
+# according to format specified in ./debian/gbp.conf
+
+VERSION=$(cat VERSION | tr -d '\n')
+
+# Retag master and debian
+git tag -f -a master/${VERSION} master -m "Tagged master branch with version $version"
+#git tag -f -a debian/${VERSION} debian -m "Tagged debian branch with version $version"

0 comments on commit cc24b1d

Please sign in to comment.
Something went wrong with that request. Please try again.