From: Bjørn Erik Pedersen Date: Fri, 16 Jun 2017 07:21:44 +0000 (+0200) Subject: releaser: Adjust X-Git-Tag: v0.23~3 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=af85eb62;p=brevno-suite%2Fhugo releaser: Adjust --- diff --git a/releaser/releaser.go b/releaser/releaser.go index 230a498e..1ceb722f 100644 --- a/releaser/releaser.go +++ b/releaser/releaser.go @@ -195,7 +195,11 @@ func (r *ReleaseHandler) Run() error { return err } - if _, err := git("-C", repo, "push", "origin", tag); err != nil { + repoURL := "git@github.com:gohugoio/hugo.git" + if i == 0 { + repoURL = "git@github.com:gohugoio/hugoDocs.git" + } + if _, err := git("-C", repo, "push", repoURL, "origin/master", tag); err != nil { return err } }