summaryrefslogtreecommitdiffstats
path: root/releaser
diff options
context:
space:
mode:
Diffstat (limited to 'releaser')
-rw-r--r--releaser/releaser.go6
1 files changed, 5 insertions, 1 deletions
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
}
}