Skip to content

Commit

Permalink
Sign all publications, not only releases
Browse files Browse the repository at this point in the history
  • Loading branch information
tgeens committed May 26, 2021
1 parent 11d69ea commit a8f33b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ publishing {
}

signing {
required { !version.toString().endsWith("SNAPSHOT") }
required { gradle.taskGraph.hasTask("publish") }
useInMemoryPgpKeys(findProperty("signingKeyId"), findProperty("signingKey"), findProperty("signingPassword"))
sign publishing.publications
}

2 comments on commit a8f33b6

@vierbergenlars
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tgeens
Copy link
Contributor Author

@tgeens tgeens commented on a8f33b6 May 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Psst, something like this ? #1

Please sign in to comment.