chiark / gitweb /
git-debpush: Fixes to help with pushing native packages
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 6 Jul 2019 20:49:41 +0000 (21:49 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 7 Jul 2019 10:18:17 +0000 (11:18 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
git-debpush

index 67f6555b17b5135465d65227c2eef8da2a9c8e73..74cb4aa1ecd665dd0dc8961aa390a83aa7d8d509 100755 (executable)
@@ -214,6 +214,7 @@ esac
 
 upstream_info=""
 if $upstream; then
+    # xxx want way to override this
     upstream_tag=$(git deborig --just-print --version="$version" \
                        | head -n1)
     upstream_committish=$(git rev-parse ${upstream_tag}^{})
@@ -265,5 +266,6 @@ EOF
 # ---- Do a git push
 
 if $pushing; then
-    git push "$remote" "${push_branch[@]}" "$upstream_tag" "$debian_tag"
+    # xxx when user can specify upstream_tag, must cope with spaces
+    git push "$remote" "${push_branch[@]}" $upstream_tag "$debian_tag"
 fi