mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-28 04:02:21 -04:00
improve generate_release_notes to skip author for consistency
Signed-off-by: bwplotka <bwplotka@gmail.com>
This commit is contained in:
parent
120808811e
commit
bc598efafc
2 changed files with 13 additions and 3 deletions
|
|
@ -3,7 +3,7 @@
|
|||
## 3.12.0-rc.0 / 2026-05-15
|
||||
|
||||
- [SECURITY] Remote-write: Reject snappy-compressed requests whose declared decoded length exceeds the 32MB. #18642
|
||||
- [SECURITY] STACKIT SD: Fix secrets being exposed in plaintext via `/-/config` endpoint. Kudos to GHSA-39j6-789q-qxvh #18649
|
||||
- [SECURITY] STACKIT SD: Fix secrets being exposed in plaintext via `/-/config` endpoint. Thanks to @August829 and @Phaxma for reporting. GHSA-39j6-789q-qxvh #18649
|
||||
- [CHANGE] TSDB/Agent: Adds Start Timestamp field to all WAL Histogram samples in memory; used `st-storage` flag is enabled. #18221
|
||||
- [FEATURE] API: Add `/api/v1/status/self_metrics` endpoint returning the current state of the Prometheus server's own metrics about itself as JSON. #18411
|
||||
- [FEATURE] Discovery: Add DigitalOcean Managed Databases service discovery #18287
|
||||
|
|
|
|||
|
|
@ -51,6 +51,9 @@ TMPL='{{- $version := .CurrentRevision -}}
|
|||
|
||||
release_branch="release-${major}.${minor}"
|
||||
|
||||
tmp_file=$(mktemp)
|
||||
trap 'rm -f "${tmp_file}"' EXIT
|
||||
|
||||
if [[ "${patch}" == "0" ]]; then
|
||||
# Minor release (any RC or final): cover the full cycle from the previous minor's branch-cut point.
|
||||
prev_minor=$(( minor - 1 ))
|
||||
|
|
@ -64,7 +67,7 @@ if [[ "${patch}" == "0" ]]; then
|
|||
--org prometheus --repo prometheus \
|
||||
--required-author="" --dependencies=false \
|
||||
--go-template="go-template:inline:${TMPL}" \
|
||||
--output=/dev/stdout
|
||||
--output="${tmp_file}" || exit 1
|
||||
else
|
||||
# Patch release: cover commits since the previous patch tag.
|
||||
prev_patch=$(( patch - 1 ))
|
||||
|
|
@ -79,5 +82,12 @@ else
|
|||
--required-author="" --dependencies=false \
|
||||
--go-template="go-template:inline:${TMPL}" \
|
||||
--skip-first-commit \
|
||||
--output=/dev/stdout
|
||||
--output="${tmp_file}" || exit 1
|
||||
fi
|
||||
|
||||
# sed is used to remove the @user references from the release notes.
|
||||
# Prometheus CHANGELOG used to not do this.
|
||||
sed -E 's/\((#[0-9]+), @[^)]+\)/\1/g' "${tmp_file}"
|
||||
|
||||
echo "Done; Removing "${tmp_file}" temporary file."
|
||||
echo "Maintainers, please copy the output to CHANGELOG.md and adjust if needed."
|
||||
|
|
|
|||
Loading…
Reference in a new issue