cluster-api
cluster-api copied to clipboard
:seedling: Add validation for PREVIOUS_RELEASE_TAG in release-notes-tool
What this PR does / why we need it:
Add a validation logic for make release-notes
✅ Now Accepts:
- tags/v1.0.0-alpha.1 (alpha pre-release)
- tags/v1.0.0-beta.1 (beta pre-release)
- tags/v1.0.0-rc.1 (release candidate)
❌ Now Rejects:
- v1.0.0-alpha.1 (missing tags/ prefix)
- tags/v1.0.0 (no pre-release identifier)
- tags/v1.0.0-dev.1 (unsupported pre-release type)
- invalid-version (malformed version)
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #12278
/area release
@chandankumar4 Is this a change you are expecting? I appreciate it if you review this PR. Thanks!
/retest
/lgtm
LGTM label has been added.
LGTM label has been added.
/retest
/retest
LGTM label has been added.
/lgtm
Thank you!
/lgtm /approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: sbueringer
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~hack/tools/release/OWNERS~~ [sbueringer]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment