]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
release: Add a note section in release notes
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 19 Dec 2022 12:13:38 +0000 (13:13 +0100)
committerGitHub <noreply@github.com>
Mon, 19 Dec 2022 12:13:38 +0000 (13:13 +0100)
hugoreleaser.toml

index 294c606c96fb07740d4017d8241e3de30dcf8421..8f32b7b82a4de1f1eff58168b9944f302bb58a8b 100644 (file)
@@ -53,7 +53,8 @@ archive_alias_replacements = { "linux-amd64.tar.gz" = "Linux-64bit.tar.gz" }
             # The titles will so be listed in the given order in the release note.
             # Any match with ignore=true title will be dropped.
             { regexp = "Merge commit|Squashed|releaser:", ignore = true },
-            { title = "Bug fixes", regexp = "fix", ordinal = 10 },
+            { title = "Note", regexp = "(note|deprecated)", ordinal = 10 },
+            { title = "Bug fixes", regexp = "fix", ordinal = 15 },
             { title = "Dependency Updates", regexp = "deps", ordinal = 30 },
             { title = "Build Setup", regexp = "(snap|release|update to)", ordinal = 40 },
             { title = "Documentation", regexp = "(doc|readme)", ordinal = 40 },