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

Only bump patch version #2512

Open
gtoph opened this issue Mar 24, 2025 · 0 comments
Open

Only bump patch version #2512

gtoph opened this issue Mar 24, 2025 · 0 comments
Assignees
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: question Request for information or clarification. Not an issue.

Comments

@gtoph
Copy link

gtoph commented Mar 24, 2025

I'm wondering if my understanding isn't right with the 'always-bump-patch' option. I have a "Release/xxx" branch where I would only like to allow the patch version to be bumped for critical release issues specific to that major.minor release.

I have GitHub actions only running on the branch name, so no issue there, and my config file is as follows:

{
  "include-v-in-tag": true,  
  "versioning-strategy": "always-bump-patch",
  "release-type": "go",
  "packages": {
    ".": {}
  },
  "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}

I created a test commit with a "feat: blah blah", but the PR created actually bumped the minor version. I had though the always bump patch option would override any prefix. Is that not the case?

@gtoph gtoph added priority: p3 Desirable enhancement or fix. May not be included in next release. type: question Request for information or clarification. Not an issue. labels Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

2 participants