summaryrefslogtreecommitdiffhomepage
path: root/releaser
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2017-06-13 18:47:17 +0200
committerBjørn Erik Pedersen <[email protected]>2017-06-13 18:47:17 +0200
commitc17ad675e8fcdb2db40fc50816b8f016bc14294c (patch)
treed79b1dadcef0e0e0258ca42a786f6be8671f90df /releaser
parentd8717cd4c74e80ea8e20adead9321412a2d76022 (diff)
downloadhugo-c17ad675e8fcdb2db40fc50816b8f016bc14294c.tar.gz
hugo-c17ad675e8fcdb2db40fc50816b8f016bc14294c.zip
all: Update textual references in Go source to point to gohugoio/hugo
Diffstat (limited to 'releaser')
-rw-r--r--releaser/github.go6
-rw-r--r--releaser/releasenotes_writer.go8
2 files changed, 7 insertions, 7 deletions
diff --git a/releaser/github.go b/releaser/github.go
index 0dbb1bca1..c1e7691b8 100644
--- a/releaser/github.go
+++ b/releaser/github.go
@@ -9,9 +9,9 @@ import (
)
var (
- gitHubCommitsApi = "https://api.github.com/repos/spf13/hugo/commits/%s"
- gitHubRepoApi = "https://api.github.com/repos/spf13/hugo"
- gitHubContributorsApi = "https://api.github.com/repos/spf13/hugo/contributors"
+ gitHubCommitsApi = "https://api.github.com/repos/gohugoio/hugo/commits/%s"
+ gitHubRepoApi = "https://api.github.com/repos/gohugoio/hugo"
+ gitHubContributorsApi = "https://api.github.com/repos/gohugoio/hugo/contributors"
)
type gitHubCommit struct {
diff --git a/releaser/releasenotes_writer.go b/releaser/releasenotes_writer.go
index 2f24a6c05..9e3e6414d 100644
--- a/releaser/releasenotes_writer.go
+++ b/releaser/releasenotes_writer.go
@@ -29,7 +29,7 @@ import (
)
const (
- issueLinkTemplate = "[#%d](https://github.com/spf13/hugo/issues/%d)"
+ issueLinkTemplate = "[#%d](https://github.com/gohugoio/hugo/issues/%d)"
linkTemplate = "[%s](%s)"
releaseNotesMarkdownTemplate = `
{{- $patchRelease := isPatch . -}}
@@ -56,8 +56,8 @@ And as always a big thanks to [@digitalcraftsman](https://github.com/digitalcraf
Hugo now has:
{{ with .Repo -}}
-* {{ .Stars }}+ [stars](https://github.com/spf13/hugo/stargazers)
-* {{ len .Contributors }}+ [contributors](https://github.com/spf13/hugo/graphs/contributors)
+* {{ .Stars }}+ [stars](https://github.com/gohugoio/hugo/stargazers)
+* {{ len .Contributors }}+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
{{- end -}}
{{ with .ThemeCount }}
* 156+ [themes](http://themes.gohugo.io/)
@@ -160,7 +160,7 @@ func writeReleaseNotes(version string, infos gitInfos, to io.Writer) error {
}
func fetchThemeCount() (int, error) {
- resp, err := http.Get("https://github.com/spf13/hugoThemes/blob/master/.gitmodules")
+ resp, err := http.Get("https://github.com/gohugoio/hugoThemes/blob/master/.gitmodules")
if err != nil {
return 0, err
}