From c551fe13a177f000af14c6e2c6296bbf2ce30ae6 Mon Sep 17 00:00:00 2001 From: MrXiaoM Date: Thu, 14 Dec 2023 23:37:58 +0800 Subject: [PATCH] Update PublicationHelper.kt --- buildSrc/src/main/kotlin/PublicationHelper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/PublicationHelper.kt b/buildSrc/src/main/kotlin/PublicationHelper.kt index c5926596..cc5ca6a4 100644 --- a/buildSrc/src/main/kotlin/PublicationHelper.kt +++ b/buildSrc/src/main/kotlin/PublicationHelper.kt @@ -28,7 +28,7 @@ fun Project.setupMavenCentralPublication(artifactsBlock: MavenPublication.() -> val signingPassword = findProperty("signingPassword")?.toString() if (signingKey != null && signingPassword != null) { useInMemoryPgpKeys(signingKey, signingPassword) - sign(extensions.getByType(PublishingExtension::class).publications.getByName("mavenRelease")) + sign(extensions.getByType(PublishingExtension::class).publications.getByName("maven")) } else { logger.warn("子模块 ${project.name} 未找到签名配置") }