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

How to force snapshot version for certain branches #440

Open
jhilling opened this issue Jan 15, 2022 · 0 comments
Open

How to force snapshot version for certain branches #440

jhilling opened this issue Jan 15, 2022 · 0 comments
Labels

Comments

@jhilling
Copy link

I'm trying to implement a configuration of the release plugin such that certain branches always produce a snapshot version.

For example, any branch matching 'PR-.*' must produce a snapshot version, even if it is on a release tagged changeset.

I am aware of the property 'release.forceSnapshot' however I'd like to effectively apply this option programmatically from within scmVersion configuration depending on branch.

Can anyone help if this is possible, and how one might go about it?

Thanks!

@bgalek bgalek added the question label May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants