Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
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}^{})
# ---- 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