{{ if eq (len .All) 1 }}
 This is a bug-fix release with one important fix.
 {{ else }}
-This is a bug-fix relase with a couple of important fixes.
+This is a bug-fix release with a couple of important fixes.
 {{ end }}
 {{ else }}
 This release represents **{{ len .All }} contributions by {{ len $contribsPerAuthor }} contributors** to the main Hugo code base.
        return f.Name(), nil
 }
 
-func getRelaseNotesDocsTempDirAndName(version string) (string, string) {
+func getReleaseNotesDocsTempDirAndName(version string) (string, string) {
        return hugoFilepath("temp"), fmt.Sprintf("%s-relnotes.md", version)
 }
 
-func getRelaseNotesDocsTempFilename(version string) string {
-       return filepath.Join(getRelaseNotesDocsTempDirAndName(version))
+func getReleaseNotesDocsTempFilename(version string) string {
+       return filepath.Join(getReleaseNotesDocsTempDirAndName(version))
 }
 
 func writeReleaseNotesToTemp(version string, infos gitInfos) (string, error) {
-       docsTempPath, name := getRelaseNotesDocsTempDirAndName(version)
+       docsTempPath, name := getReleaseNotesDocsTempDirAndName(version)
        os.Mkdir(docsTempPath, os.ModePerm)
 
        f, err := os.Create(filepath.Join(docsTempPath, name))
 
 type ReleaseHandler struct {
        patch int
 
-       // If set, we do the relases in 3 steps:
+       // If set, we do the releases in 3 steps:
        // 1: Create and write a draft release notes
        // 2: Prepare files for new version.
        // 3: Release
                return nil
        }
 
-       releaseNotesFile := getRelaseNotesDocsTempFilename(version)
+       releaseNotesFile := getReleaseNotesDocsTempFilename(version)
 
        // Write the release notes to the docs site as well.
        docFile, err := writeReleaseNotesToDocs(version, releaseNotesFile)
        if _, err := git("-C", "docs", "add", docFile); err != nil {
                return err
        }
-       if _, err := git("-C", "docs", "commit", "-m", fmt.Sprintf("%s Add relase notes to /docs for release of %s\n\n[ci skip]", commitPrefix, newVersion)); err != nil {
+       if _, err := git("-C", "docs", "commit", "-m", fmt.Sprintf("%s Add release notes to /docs for release of %s\n\n[ci skip]", commitPrefix, newVersion)); err != nil {
                return err
        }