aboutsummaryrefslogtreecommitdiff
path: root/git-buildpackage
diff options
context:
space:
mode:
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 9e84138..52474c6 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: