Skip to content

Commit 99835b0

Browse files
Fix bad env name in signing plugin
1 parent 8d8d11b commit 99835b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildSrc/src/main/kotlin/library-publishing-conventions.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ project.afterEvaluate {
4646
signing {
4747
setRequired { !project.hasProperty("skipSigning") }
4848

49-
val key = System.getenv("MAVEN_CENTRAL_GPG_KEY") ?: return@signing
49+
val key = System.getenv("MAVEN_CENTRAL_GPG_PRIVATE_KEY") ?: return@signing
5050
val password = System.getenv("MAVEN_CENTRAL_GPG_PASSPHRASE") ?: return@signing
5151
val publishing: PublishingExtension by project
5252

0 commit comments

Comments
 (0)