Skip to content

Commit 9e08f61

Browse files
committed
Add support for notes:hide
1 parent 23b58ba commit 9e08f61

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

make_release/notes/generate.nu

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const SECTIONS = [
88
["notes:other", "Other changes", "Additional changes"]
99
["notes:fixes", "Bug fixes", "Other fixes"]
1010
["notes:mention", null, null]
11+
["notes:hide", null, null]
1112
]
1213

1314
use notice.nu *
@@ -129,7 +130,7 @@ export def generate-changes-section []: table -> string {
129130
# sort sections in order of appearance in table
130131
| sort-by {|i| $SECTIONS | enumerate | where item.label == $i.section | only }
131132
# Hall of Fame is handled separately
132-
| where section != "notes:mention"
133+
| where section not-in ["notes:mention" "notes:hide"]
133134
| each { generate-section }
134135
| str join (char nl)
135136
}

0 commit comments

Comments
 (0)