Skip to content

Commit

Permalink
Add script to tag repo with the version number in the VERSION file
Browse files Browse the repository at this point in the history
Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
  • Loading branch information
Mike McClurg committed Nov 29, 2011
1 parent fe7f60f commit 5b56a83
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions 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 5b56a83

Please sign in to comment.