Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update release-drafter config #2436

Merged
merged 1 commit into from
Jan 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/release-drafter/release-drafter/master/schema.json

# NOTES:
# - The value of the `version` action input is NOT made directly available to this template.
# - Components like $MAJOR/$MINOR/$PATCH are derived either by parsing the `version` action input
# or else computed by incrementing the previous release if no `version` input is given.
# - $RESOLVED_VERSION is the result of rendering the below `version-template` config value
# once the individual version number components have been derived.
# - We compute our YYYY.inc versions separately and passed the result as `version` input;
# while it is NOT incremented by this action, it is still parsed into components, where:
# - $MAJOR = YYYY value of `version` input
# - $MINOR = inc value of `version` input
# - $PATCH will always be 0 (and is not used in this template)

version-template: '$MAJOR.$MINOR'
name-template: 'v$RESOLVED_VERSION'
tag-template: 'release/$RESOLVED_VERSION'
tag-prefix: 'release/'
version-template: '2024.$MINOR'
version-resolver:
default: minor
prerelease: true
Expand Down
Loading