gradle-release icon indicating copy to clipboard operation
gradle-release copied to clipboard

Running with "release.newVersion" set, the build is holding asking for the next version

Open jmini opened this issue 11 months ago • 0 comments

When running the release process with:

./gradlew release -Prelease.releaseVersion=6.0.0-rc.1 -Prelease.newVersion=6.0.0-SNAPSHOT

At some point at the end of the release process, the execution stops with this message:

??> Enter the next version (current one released as [6.0.0-rc.1]): [6.0.0-SNAPSHOT]  (WAITING FOR INPUT BELOW)

Hitting ENTER unlock the release process and everything works as expected.


I have the feeling this is new (was different with older version of the 'net.researchgate.release' plugin).

I have the feeling that when release.newVersion is provided, there is no need to interrupt the release process. What is the expected behavior?

jmini avatar Mar 05 '25 15:03 jmini