mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-18 07:09:23 -04:00
releaser: Adjust
This commit is contained in:
parent
882b2b61fc
commit
af85eb62b4
@ -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…
x
Reference in New Issue
Block a user