From e6afd1000bc989700ca4564472e1ced4b8a4ff14 Mon Sep 17 00:00:00 2001 From: Pavel Gorgulov Date: Fri, 19 Sep 2025 15:42:51 +0200 Subject: [PATCH] Update signing key environment variable (#283) Change the property name to search for `GPG_SECRET_KEY` ## Motivation and Context enable signing publications ## Breaking Changes no ## Types of changes - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update ## Checklist - [x] I have read the [MCP Documentation](https://modelcontextprotocol.io) - [x] My code follows the repository's style guidelines - [x] New and existing tests pass locally - [ ] I have added appropriate error handling - [ ] I have added or updated documentation as needed --- buildSrc/src/main/kotlin/mcp.publishing.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/mcp.publishing.gradle.kts b/buildSrc/src/main/kotlin/mcp.publishing.gradle.kts index 92262c2..1355137 100644 --- a/buildSrc/src/main/kotlin/mcp.publishing.gradle.kts +++ b/buildSrc/src/main/kotlin/mcp.publishing.gradle.kts @@ -46,7 +46,7 @@ mavenPublishing { } private fun Project.configureSigning(mavenPublishing: MavenPublishBaseExtension) { - val gpgKeyName = "GPG_SIGNING_KEY" + val gpgKeyName = "GPG_SECRET_KEY" val gpgPassphraseName = "SIGNING_PASSPHRASE" val signingKey = providers.environmentVariable(gpgKeyName) .orElse(providers.gradleProperty(gpgKeyName))