releaser: Adjust

This commit is contained in:
Bjørn Erik Pedersen 2017-06-16 09:21:44 +02:00
parent 882b2b61fc
commit af85eb62b4

View file

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