Skip to content

Commit e2c3f6b

Browse files
committed
Fix how version appears in release notes
1 parent cfc374b commit e2c3f6b

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
@@ -112,7 +112,8 @@ export def generate-notes [version: string]: table -> string {
112112
const template_path = path self "template.md"
113113
let template = open $template_path
114114
let arguments = {
115-
version: $version,
115+
# chop off the `v` in the version
116+
version: ($version | str substring 1..),
116117
changes: ($prs | generate-changes-section),
117118
hall_of_fame: ($prs | generate-hall-of-fame)
118119
changelog: (generate-full-changelog $version)

0 commit comments

Comments
 (0)