When using version string for release versions (without -SNAPSHOT postfix) signing is executed automatically during publish and publishToMavenLocal gradle tasks. This makes most of the CI builds fail in release branch, because the CI nodes don't have signing configuration/possibility.
This PR adds an option to opt out from signing by using environmental variable NO_GPG_SIGN set to true.
Example:
NO_GPG_SIGN=true ./gradlew publishToMavenLocal
When NO_GPG_SIGN is not defined or is not true, gradle will execute signing tasks.
When using version string for release versions (without -SNAPSHOT postfix) signing is executed automatically during
publish
andpublishToMavenLocal
gradle tasks. This makes most of the CI builds fail in release branch, because the CI nodes don't have signing configuration/possibility.This PR adds an option to opt out from signing by using environmental variable
NO_GPG_SIGN
set totrue
.Example:
NO_GPG_SIGN=true ./gradlew publishToMavenLocal
When
NO_GPG_SIGN
is not defined or is nottrue
, gradle will execute signing tasks.