Skip to content

Commit 2970c90

Browse files
Kristjan Kosicfaustbrian
authored andcommitted
chore: sign only when key present / gradle (#19)
1 parent be7258e commit 2970c90

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,10 @@ uploadArchives {
8787
}
8888
}
8989

90-
signing {
91-
sign configurations.archives
90+
if (project.hasProperty("signing.keyId")) {
91+
signing {
92+
sign configurations.archives
93+
}
9294
}
9395

9496
dependencies {

0 commit comments

Comments
 (0)