aboutsummaryrefslogtreecommitdiffhomepage
path: root/releaser
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2017-05-03 09:29:59 +0200
committerBjørn Erik Pedersen <[email protected]>2017-05-03 09:29:59 +0200
commitf9e41f6497cac0c47e1446118690e698bb243719 (patch)
tree644efc36ed4d912883087fb2f3071bdcb47a91b3 /releaser
parent8f2ab5f498fc8131ffe99840eac1f6091cec4a78 (diff)
downloadhugo-f9e41f6497cac0c47e1446118690e698bb243719.tar.gz
hugo-f9e41f6497cac0c47e1446118690e698bb243719.zip
releaser: Push the tag before goreleaser is run
Fixes #3405
Diffstat (limited to 'releaser')
-rw-r--r--releaser/releaser.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/releaser/releaser.go b/releaser/releaser.go
index 1b0350fa0..ddf64a759 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
}