Closed rivancic closed 1 month ago
Hello 👋
You need to provide the tag you want to upgrade the version.
As your project is using the tag v
./gradlew cST -P semver.tagPrefix=v
It's working!
Again, if I set it already to project (semver.project.tagPrefix) I think this should be the default tag then later for any new version tag creation. Except if one would like to assign for specific reason different tag than project default then I would expect semver.tagPrefix
to be set.
The default tag prefix is an empty string, so if you don't want to specify anything I recommend you to remove the prefix.
The prefix is only necessary for multi module projects with different versions so you can upgrade one project without upgrading the other.
Thanks for clarifying that up. Will have to use the prefix as its used in my project as a convention.
You can add both properties to the root gradle.properties
and forget about them 😄
Running createSemverTask doesn't create any tag it prints following.
just running print task.
What am I doing wrong? I expect to create new tag.