chore: update changelog for v1.59.1; fix changelog gen script #4386
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes changes to improve the handling of version tags and changelog entries in the release process. The most important changes include updating the logic for filtering version tags, fixing formatting in changelog generation, and adding a new changelog entry for version
v1.59.1
.Improvements to version tag filtering:
build/release/release.go
: Updated theversionTags
function to filter tags starting withv1
instead ofv
. This ensures that only version 1 tags are included in the release process.Fixes to changelog generation:
build/release/changelog.go
: Removed the unnecessary newline before the changelog heading in theinsertChangeLogVersion
function to improve formatting consistency.Addition of a new changelog entry:
CHANGELOG.md
: Added the changelog entry for versionv1.59.1
, including a fix for flag metadata parsing from snapshots.