mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
release: Fix changelog output.
9bd340957fchanged the headers; while we no longer store the changelog text in the Github release object, we should still output the changelog to STDOUT correctly. (cherry picked from commitdb4e093ad7)
This commit is contained in:
committed by
Tim Abbott
parent
45585acc4e
commit
ca7cb771fb
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user