aboutsummaryrefslogtreecommitdiffhomepage
path: root/releaser
diff options
context:
space:
mode:
authorPhil Davis <[email protected]>2020-12-16 16:56:32 +0545
committerGitHub <[email protected]>2020-12-16 12:11:32 +0100
commit04b89857e104ac7dcbf9fc65d8d4f1a1178123e6 (patch)
tree585bf761f0a1cfc69dffcd8afd22e94ca9da7c07 /releaser
parent21fa1e86f2aa929fb0983a0cc3dc4e271ea1cc54 (diff)
downloadhugo-04b89857e104ac7dcbf9fc65d8d4f1a1178123e6.tar.gz
hugo-04b89857e104ac7dcbf9fc65d8d4f1a1178123e6.zip
all: Fix minor typos
Diffstat (limited to 'releaser')
-rw-r--r--releaser/releaser.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/releaser/releaser.go b/releaser/releaser.go
index 61b9d211f..97ffe1a2c 100644
--- a/releaser/releaser.go
+++ b/releaser/releaser.go
@@ -131,12 +131,12 @@ func (r *ReleaseHandler) Run() error {
return err
}
- prepareRelaseNotes := isPatch || relNotesState == releaseNotesNone
+ prepareReleaseNotes := isPatch || relNotesState == releaseNotesNone
shouldRelease := isPatch || relNotesState == releaseNotesReady
defer r.gitPush() // TODO(bep)
- if prepareRelaseNotes || shouldRelease {
+ if prepareReleaseNotes || shouldRelease {
gitCommits, err = getGitInfos(changeLogFromTag, "hugo", "", !r.try)
if err != nil {
return err
@@ -150,11 +150,11 @@ func (r *ReleaseHandler) Run() error {
}
if relNotesState == releaseNotesCreated {
- fmt.Println("Release notes created, but not ready. Reneame to *-ready.md to continue ...")
+ fmt.Println("Release notes created, but not ready. Rename to *-ready.md to continue ...")
return nil
}
- if prepareRelaseNotes {
+ if prepareReleaseNotes {
releaseNotesFile, err := r.writeReleaseNotesToTemp(version, isPatch, gitCommits, gitCommitsDocs)
if err != nil {
return err