aboutsummaryrefslogtreecommitdiffhomepage
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 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: