Skip to content

Commit a8f33b6

Browse files
committed
Sign all publications, not only releases
1 parent 11d69ea commit a8f33b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gradle/publish.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ publishing {
5151
}
5252

5353
signing {
54-
required { !version.toString().endsWith("SNAPSHOT") }
54+
required { gradle.taskGraph.hasTask("publish") }
5555
useInMemoryPgpKeys(findProperty("signingKeyId"), findProperty("signingKey"), findProperty("signingPassword"))
5656
sign publishing.publications
5757
}

0 commit comments

Comments
 (0)