Skip to content

Commit e6afd10

Browse files
authored
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
1 parent 5fe1975 commit e6afd10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildSrc/src/main/kotlin/mcp.publishing.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ mavenPublishing {
4646
}
4747

4848
private fun Project.configureSigning(mavenPublishing: MavenPublishBaseExtension) {
49-
val gpgKeyName = "GPG_SIGNING_KEY"
49+
val gpgKeyName = "GPG_SECRET_KEY"
5050
val gpgPassphraseName = "SIGNING_PASSPHRASE"
5151
val signingKey = providers.environmentVariable(gpgKeyName)
5252
.orElse(providers.gradleProperty(gpgKeyName))

0 commit comments

Comments
 (0)