Skip to content

Commit

Permalink
Only sign when publishing.
Browse files Browse the repository at this point in the history
  • Loading branch information
smillst committed May 1, 2024
1 parent 917b484 commit 2db3beb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle-mvn-push.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ signing {
// Only sign releases; snapshots are unsigned.
tasks.withType(Sign).configureEach {
onlyIf {
!isSnapshot
!isSnapshot && gradle.taskGraph.hasTask("publish")
}
}

0 comments on commit 2db3beb

Please sign in to comment.