releaser: Push the tag before goreleaser is run

Fixes #3405
This commit is contained in:
Bjørn Erik Pedersen 2017-05-03 09:29:59 +02:00
parent 8f2ab5f498
commit f9e41f6497

View file

@ -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
}