mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
releaser: Adjust
This commit is contained in:
parent
882b2b61fc
commit
af85eb62b4
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue