From: Bjørn Erik Pedersen Date: Wed, 3 May 2017 07:29:59 +0000 (+0200) Subject: releaser: Push the tag before goreleaser is run X-Git-Tag: v0.21~49 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f9e41f64;p=brevno-suite%2Fhugo releaser: Push the tag before goreleaser is run Fixes #3405 --- diff --git a/releaser/releaser.go b/releaser/releaser.go index 1b0350fa..ddf64a75 100644 --- a/releaser/releaser.go +++ b/releaser/releaser.go @@ -154,6 +154,10 @@ func (r *ReleaseHandler) Run() error { return err } + if _, err := git("push", "origin", tag); err != nil { + return err + } + if err := r.release(releaseNotesFile); err != nil { return err }