Search code examples
gradlenetflix-nebula-pluginsgradle-git

gradle-nebula create but don't push git tag


I am maintaining a project using gradle with nebula for release and semver. For various reasons, I want to prevent the nebula plugin (gradle clean final) to push the created git tag by itself and delegate this into another place in my (jenkins) pipeline. How could this be done? Is it even feasible to further use nebula for this approach or is there another gradle release plugin that gets the job done the way I would like it to?


Solution

  • It seems like there is a undocumented gradle property release.disableGitChecks however it will also prevent from tagging the commit, too.

    I solved this by using another release plugin called axion which seems to get the job done and is configurable just as I needed it to.