You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by th...@apache.org on 2018/08/15 19:27:23 UTC

[beam] 02/02: Add option to skip signing of release artifacts via -PnoSigning for third-party builds.

This is an automated email from the ASF dual-hosted git repository.

thw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 51f8a297731bc94a5092337454ce00d3fd84c78e
Author: Thomas Weise <th...@apache.org>
AuthorDate: Wed Aug 15 10:49:06 2018 -0700

    Add option to skip signing of release artifacts via -PnoSigning for third-party builds.
---
 buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
index 630602d..6916ab1 100644
--- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
@@ -975,7 +975,7 @@ artifactId=${project.name}
           }
         }
         // Only sign artifacts if we are performing a release
-        if (isRelease(project)) {
+        if (isRelease(project) && !project.hasProperty('noSigning')) {
           project.apply plugin: "signing"
           project.signing {
             useGpgCmd()