release: Fix changelog output.

9bd340957f changed the headers; while we no longer store the
changelog text in the Github release object, we should still output
the changelog to STDOUT correctly.
This commit is contained in:
Alex Vandiver 2024-03-19 18:17:02 -04:00 committed by Tim Abbott
parent 69fbd81a73
commit db4e093ad7
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ gh auth status \
# Extract the changelog, print it
changelog_anchor="zulip-server-${version//./-}"
changelog=$(VERSION="$version" perl -nle '$v=quotemeta($ENV{VERSION}); print if $rc = /^### $v/ .. /^#{1,3} (?!$v)/ and $rc !~ /E0/' docs/overview/changelog.md)
changelog=$(VERSION="$version" perl -nle '$v=quotemeta($ENV{VERSION}); print if $rc = /^### Zulip Server $v/ .. /^#{1,3} Zulip Server (?!$v)/ and $rc !~ /E0/' docs/overview/changelog.md)
echo "$changelog"
echo -e "\n\n(pausing for 15s, ^C to cancel)"