From 3868d189b3251aa7f0c307d14dbf5280d808d475 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 6 Jul 2019 21:49:41 +0100 Subject: git-debpush: Fixes to help with pushing native packages Signed-off-by: Ian Jackson --- git-debpush | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'git-debpush') diff --git a/git-debpush b/git-debpush index 67f6555..74cb4aa 100755 --- a/git-debpush +++ b/git-debpush @@ -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 -- cgit v1.2.3