diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2014-01-18 22:50:46 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2014-03-05 18:29:02 +0000 |
commit | 719b7338435ff81dd36db3fa416d6f397f1d1566 (patch) | |
tree | 597051cb45cb60632405badbcf967b71c9064095 | |
parent | deb9a5e8b7be737f0ba41aebfbd3602b539ba947 (diff) |
Bring forward push of the version tag ref so it happens alongside the push of the suite branch ref.
-rw-r--r-- | debian/changelog | 2 | ||||
-rwxr-xr-x | dgit | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index e98fd2f..95f563b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ dgit (0.22~experimental1) experimental; urgency=low * New git-check and git-create methods "true" which are no-ops. + * Bring forward push of the version tag ref so it happens alongside + the push of the suite branch ref. * dgit-push-responder: WIP -- @@ -1435,6 +1435,7 @@ sub dopush () { create_remote_git_repo(); } runcmd_ordryrun @git, qw(push),access_giturl(),"HEAD:".rrref(); + runcmd_ordryrun @git, qw(push),access_giturl(),"refs/tags/$tag"; runcmd_ordryrun @git, qw(update-ref -m), 'dgit push', lrref(), 'HEAD'; if (!$we_are_responder) { @@ -1454,7 +1455,6 @@ sub dopush () { sign_changes $changesfile; } - runcmd_ordryrun @git, qw(push),access_giturl(),"refs/tags/$tag"; my $host = access_cfg('upload-host','RETURN-UNDEF'); my @hostarg = defined($host) ? ($host,) : (); runcmd_ordryrun @dput, @hostarg, $changesfile; |