Browse files

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

Signed-off-by: Mike McClurg <>
  • Loading branch information...
Mike McClurg
Mike McClurg committed Nov 29, 2011
1 parent fe7f60f commit 5b56a83a359973db861b4006d7510f2efb75b87d
Showing with 10 additions and 0 deletions.
  1. +10 −0
@@ -0,0 +1,10 @@
+# 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 5b56a83

Please sign in to comment.