-
Notifications
You must be signed in to change notification settings - Fork 390
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
fix: versioning-strategy field incorrect #2450
base: main
Are you sure you want to change the base?
Conversation
OK I found out the hard way internals don't use
--versioning-strategy VersioningStrategyType Override method of determining SemVer version bumps based on commits. Defaults to default https://github.com/googleapis/release-please/blob/main/docs/cli.md |
Ping, curious if we can get this fixed / get an update on this? |
@@ -24,7 +24,7 @@ | |||
"description": "Configuration option for the prerelease versioning strategy. If prerelease strategy used and type set, will set the prerelease part of the version to the provided value in case prerelease part is not present.", | |||
"type": "string" | |||
}, | |||
"versioning": { | |||
"versioning-strategy": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
versioning
is the correct field in the config. The command line argument is versioning-strategy
which is irrelevant to this schema.
"changelog-sections": true, | ||
"release-as": true, | ||
"skip-github-release": true, | ||
"draft": true, | ||
"prerelease": true, | ||
"prerelease-type": true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one looks ok to add
👋 hi (one of a couple different incoming prs) this is an easy one:
https://github.com/googleapis/release-please/blob/main/src/bin/release-please.ts#L304
The field is "versioning-strategy" not "versioning", also missing "prerelease-type".