-
Notifications
You must be signed in to change notification settings - Fork 383
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
Added TAG_PREFIX so more descriptive tags can be used #326
base: master
Are you sure you want to change the base?
Conversation
@anothrNick When you get a chance can you take a look at this one please |
Hi @anothrNick , this feature would be great for working with monorepos. |
README.md
Outdated
@@ -85,14 +84,15 @@ _NOTE: set the fetch-depth for `actions/checkout@v2` or newer to be sure you ret | |||
- **GITHUB_TOKEN** **_(required)_** - Required for permission to tag the repo. | |||
- **DEFAULT_BUMP** _(optional)_ - Which type of bump to use when none explicitly provided (default: `minor`). | |||
- **DEFAULT_BRANCH** _(optional)_ - Overwrite the default branch its read from GitHub Runner env var but can be overwritten (default: `$GITHUB_BASE_REF`). Strongly recommended to set this var if using anything else than master or main as default branch otherwise in combination with history full will error. | |||
- **WITH_V** _(optional)_ - Tag version with `v` character. | |||
- **WITH_V** _(optional, depricated)_ - Tag version with `v` character. Replaced by TAG_PREFIX |
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.
- **WITH_V** _(optional, depricated)_ - Tag version with `v` character. Replaced by TAG_PREFIX | |
- **WITH_V** _(optional, deprecated)_ - Tag version with `v` character. Replaced by TAG_PREFIX |
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.
@robw-raviga Thanks. Fixed in ed6507f
Summary of changes
Added
TAG_PREFIX
to replaceWITH_V
.WITH_V
is still in place for backwards comparability, but the idea is it would be removed in a few versions (gives people a chance to change their code, doesn't force a major etc)This should fix #320. I have a similar use case where a monorepo has a bunch of folders which maintain independent versions
This is best used along side changed-files and a matrix
Breaking Changes
Do any of the included changes break current behaviour or configuration?
NO : The changes are backwards compatible to allow a smoother transition
How changes have been tested
Backwards compatibility
tagging WITH_V false
tagging WITH_V true
New Feature (all in matrix jobs as that's my usecase)
Bump multiple tags
Bump one tag add one tag
List any unknowns