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

initialPreReleaseIfNotOnPrerelease on gradle command line? #698

Open
am312 opened this issue Jan 16, 2024 · 0 comments
Open

initialPreReleaseIfNotOnPrerelease on gradle command line? #698

am312 opened this issue Jan 16, 2024 · 0 comments

Comments

@am312
Copy link

am312 commented Jan 16, 2024

This is possible:

./gradlew release -Prelease.versionIncrementer=incrementPrerelease

but how can I accomplish this function in the shell including the RC1 portion?

scmVersion {
  versionIncrementer 'incrementPrerelease', [initialPreReleaseIfNotOnPrerelease: 'RC1']
}

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant