mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 22:16:02 +00:00
releaser: Adjust
This commit is contained in:
1 parent
882b2b61fc
commit
af85eb62b4
1 file changed
+5
-1
@@ -195,7 +195,11 @@ func (r *ReleaseHandler) Run() error {
|
|||||||
return err
|
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
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user