Skip to content

Commit 1770508

Browse files
author
ntwigg
committed
Setup the signing key.
1 parent 1c40a03 commit 1770508

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
# Changelog
8080
## [Unreleased]
8181
### Changed
82+
- Hardcoded the `2C7F998F4272C851` signing subkey for our new GPG setup.
8283
- Better default tag message for spotless-changelog.
8384

8485
## [8.0.3] - 2024-12-11

src/main/resources/base/sonatype.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if (project.findProperty('enable_publishing') != 'true') {
55
}
66

77
def nexus_user =.proj('nexus_user', 'username for nexus/mavencentral (or unset enable_publishing)')
8-
def nexus_pass64 =.proj('nexus_pass64', 'password for nexus/mavencentral (or unset enable_publishing)')
8+
def nexus_pass64 =.proj('nexus_pass64', 'password for nexus/mavencentral (or unset enable_publishing)')
99
def gpg_key64 =.proj('gpg_key64', 'gpg --export-secret-keys --armor <key-id>')
1010
def gpg_passphrase =.proj('gpg_passphrase', 'passphrase for unlocking gpg_key')
1111

@@ -14,7 +14,7 @@ def gpg_key = new String(gpg_key64.decodeBase64())
1414
if (plugins.hasPlugin('maven-publish')) {
1515
apply plugin: 'signing'
1616
signing {
17-
useInMemoryPgpKeys(gpg_key, gpg_passphrase)
17+
useInMemoryPgpKeys('2C7F998F4272C851', gpg_key, gpg_passphrase)
1818
sign(publishing.publications)
1919
}
2020
}

0 commit comments

Comments
 (0)