From af85eb62b4884478755be7f7849c840179fecfb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 16 Jun 2017 09:21:44 +0200 Subject: [PATCH] releaser: Adjust --- releaser/releaser.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/releaser/releaser.go b/releaser/releaser.go index 230a498e6..1ceb722fc 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 } }