From 3afaca75844272c309da44d1f4b3b95dc8ee2e6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 19 Dec 2022 13:13:38 +0100 Subject: [PATCH] release: Add a note section in release notes --- hugoreleaser.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hugoreleaser.toml b/hugoreleaser.toml index 294c606c9..8f32b7b82 100644 --- a/hugoreleaser.toml +++ b/hugoreleaser.toml @@ -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 },