aboutsummaryrefslogtreecommitdiffhomepage
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
parent8b155f5eade2ee4cdfd01f786ddb95b5db2ba70d (diff)
git doesn't like '~' in tag names so replace this with a dot when taggingdebian/0.2.3
-rw-r--r--debian/changelog6
-rwxr-xr-xgit-buildpackage2
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 9bbb7de2..1b9ce76e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+git-buildpackage (0.2.3) git-buildpackage; urgency=low
+
+ * git doesn't like '~' in tag names so replace this with a dot when tagging
+
+ -- Guido Guenther <agx@sigxcpu.org> Mon, 2 Oct 2006 18:30:20 +0200
+
git-buildpackage (0.2.2) git-buildpackage; urgency=low
* git-import-dsc: don't fail if the dsc is a plain filename without a
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: