Skip to content

Commit 01e2f47

Browse files
committed
Update release instructions.
* GPG 2.1 requires use of short format key names * Gradle 5.6.1 has removed the `--recompile-scripts` flag. Fixes #9.
1 parent 61a96b8 commit 01e2f47

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dorelease.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
# Release instructions
44
# 1. Follow the gpg setup instructions: http://central.sonatype.org/pages/working-with-pgp-signatures.html
55
# a. gpg2 --export-secret-keys > ~/.gnupg/secring.gpg
6+
# b. gpg2 --list-keys --keyid-format short
67
# 2. In ~/.gradle add:
78
# sonatypeUsername=your sonatype user name
89
# sonatypePassword=password in vault for oss sonatype<ensure newline>
910
#
10-
# signing.keyId=generated key
11+
# signing.keyId=generated key in short format
1112
# signing.password=password for gpg key
1213
# signing.secretKeyRingFile=/Users/username/.gnupg/secring.gpg
1314
#
@@ -16,5 +17,5 @@
1617
# 5. Login as sonatypeUsername
1718
# 6. Follow the instructions here: http://central.sonatype.org/pages/releasing-the-deployment.html
1819

19-
./gradlew --recompile-scripts clean test uploadArchives
20+
./gradlew clean test uploadArchives
2021

0 commit comments

Comments
 (0)