release: omit authors and parentheses from generated PR references

Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
This commit is contained in:
Julien Pivotto committed 2026-10-26 16:51:51 +01:00
1 parent dd8f8e7afe
commit f0387f09ce
1 file changed
+4 -2
+4 -2
View File
@@ -64,7 +64,8 @@ if [[ "${patch}" == "0" ]]; then
--org prometheus --repo prometheus \
--required-author="" --dependencies=false \
--go-template="go-template:inline:${TMPL}" \
--output=/dev/stdout
--output=/dev/stdout |
sed -E 's/\(#([0-9]+), @[A-Za-z0-9_-]+\)$/#\1/'
else
# Patch release: cover commits since the previous patch tag.
prev_patch=$(( patch - 1 ))
@@ -79,5 +80,6 @@ else
--required-author="" --dependencies=false \
--go-template="go-template:inline:${TMPL}" \
--skip-first-commit \
--output=/dev/stdout
--output=/dev/stdout |
sed -E 's/\(#([0-9]+), @[A-Za-z0-9_-]+\)$/#\1/'
fi