Skip to content

Commit

Permalink
KAFKA-2781; Only require signing artifacts when uploading archives.
Browse files Browse the repository at this point in the history
Author: Ewen Cheslack-Postava <[email protected]>

Reviewers: Jun Rao <[email protected]>

Closes #461 from ewencp/kafka-2781-no-signing-for-install

(cherry picked from commit a24f9a2)
Signed-off-by: Jun Rao <[email protected]>
  • Loading branch information
ewencp authored and junrao committed Nov 9, 2015
1 parent 02fbdaa commit fdefef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ ext {
userMaxForks = project.hasProperty('maxParallelForks') ? maxParallelForks.toInteger() : null

skipSigning = project.hasProperty('skipSigning') && skipSigning.toBoolean()
shouldSign = !skipSigning && !version.endsWith("SNAPSHOT")
shouldSign = !skipSigning && !version.endsWith("SNAPSHOT") && project.gradle.startParameter.taskNames.any { it.contains("upload") }

mavenUrl = project.hasProperty('mavenUrl') ? project.mavenUrl : ''
mavenUsername = project.hasProperty('mavenUsername') ? project.mavenUsername : ''
Expand Down

0 comments on commit fdefef9

Please sign in to comment.