aboutsummaryrefslogtreecommitdiffhomepage
path: root/git-buildpackage
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2006-10-02 18:31:03 +0200
committerGuido Guenther <agx@bogon.sigxcpu.org>2006-10-02 18:31:03 +0200
commit45ee9dfaa901bbb182903b1a3d157f2ee10f6720 (patch)
treed8d4bbaaa9901980393dab0eda6f154b3de71d7b /git-buildpackage
parent8b155f5eade2ee4cdfd01f786ddb95b5db2ba70d (diff)
git doesn't like '~' in tag names so replace this with a dot when taggingdebian/0.2.3
Diffstat (limited to 'git-buildpackage')
-rwxr-xr-xgit-buildpackage2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-buildpackage b/git-buildpackage
index 9e841383..52474c60 100755
--- a/git-buildpackage
+++ b/git-buildpackage
@@ -67,7 +67,7 @@ def main(argv):
version=get_version()
if version:
print "Tagging", version
- if not GitTag()(version): return 1
+ if not GitTag()(version.replace('~','.'): return 1
else:
print >>sys.stderr,"Can't parse version from changes file"
except CommandExecFailed: