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

Skip Git TAG

Open alexcibotari opened this issue 6 years ago • 2 comments

Hello,

I would like to release without creating git tag. It is part of my internal process where I need to tag only master branch, in other branches version can be increase but without git tag.

alexcibotari avatar Jan 31 '19 07:01 alexcibotari

If you want to skip certain tasks you can use either the exclude task argument "gradle run -x excludedTask" or you disable it inside the build.gradle with "someTask.enabled = false"

Hillkorn avatar Feb 04 '19 10:02 Hillkorn

Hey @alexcibotari hello also from this channel.

This worked for me ./gradlew release -Prelease.useAutomaticVersion=true -x unSnapshotVersion. In the same way it should work the ./gradlew release -Prelease.useAutomaticVersion=true -x preTagCommit -x createReleaseTag.

Best George

gtsopour avatar Dec 04 '19 18:12 gtsopour