Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add script to tag repo with the version number in the VERSION file

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
  • Loading branch information...
commit 5b56a83a359973db861b4006d7510f2efb75b87d 1 parent fe7f60f
Mike McClurg authored
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"
Please sign in to comment.
Something went wrong with that request. Please try again.