Open Vydruth opened 3 years ago
If that is not already supported I think it is a good feature to add.
have you tried setting next version to be the same to see if it skips step 2? e.g.
gradle release -Prelease.useAutomaticVersion=true -Prelease.releaseVersion=1.0.1 -Prelease.newVersion=1.0.1
Nope, I haven't tried that. Will try and get back with you. Even if that works, I think that would be a sloppy workaround. :)
Vydruth, Have you tried this ? Looking for a similar option to skip the snapshot version update on master.
You can disable the updateVersion & commitNewVersion task to skip the commit of the this.
I am using the gradle release plugin, I see that when we run gradle release when everything works we have 2 commits to our repo's master branch,
I would like to skip the second step. But I did not find any way to do it in the documentation mentioned in https://github.com/researchgate/gradle-release
Am I missing something? Is there a way to skip committing the snapshot version? If yes how do I do it? The command I am using to do it:
TIA!