Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

release: Link to the changelog in the Github Release.

Alex Vandiverc1008b5b12cb
diff --git a/tools/release b/tools/release
index bb78edf58d0..9efad629f0c 100755
--- a/tools/release
+++ b/tools/release
@@ -112,6 +112,7 @@ gh auth status \
|| fail "Not authenticated to github"
# 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)
echo "$changelog"
@@ -145,6 +146,6 @@ if [ -n "$is_prerelease" ]; then
fi
gh release create "$version" \
--title "Zulip Server $version" \
- --notes-file <(echo "$changelog") \
+ --notes "[Complete release notes](https://zulip.readthedocs.io/en/latest/overview/changelog.html#${changelog_anchor})" \
"${params[@]}" \
"$TARBALL"