mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
releaser: Adjust
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user