axion-release-plugin icon indicating copy to clipboard operation
axion-release-plugin copied to clipboard

initialPreReleaseIfNotOnPrerelease on gradle command line?

Open am312 opened this issue 1 year ago • 0 comments

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

am312 avatar Jan 16 '24 23:01 am312