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

[META] Allow to bump generic version references via new bumpVersions config option #28045

Open
2 tasks
secustor opened this issue Mar 20, 2024 · 1 comment
Open
2 tasks
Labels
priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others type:feature Feature (new functionality)

Comments

@secustor
Copy link
Collaborator

This will exists for the foreseeable future side by side with bumpVersion which allows managers to define version locations to be bumped.

discussion: #27602

{
  "bumpVersions": [{
     "fileMatch": "< a file pattern >",
     "semverLevel": "<major|minor|patch>",
     "matchStrings": [
       "<a regex with a 'version' capture group"
     ]
  },{
     "fileMatch": "README.md",
     "semverLevel": "minor",
     "matchStrings": [
       "version:\\s+(?<version>\\S*)"
     ]
  }]
}
  • allow managers to bump multiple files
  • add bumpVersions field as experimental
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others type:feature Feature (new functionality)
Projects
None yet
Development

No branches or pull requests

2 participants