From ad4123f9bb7b8460438cd7c6b24f1f65e1809349 Mon Sep 17 00:00:00 2001 From: albertteoh Date: Mon, 27 Dec 2021 12:37:58 +1100 Subject: [PATCH] Update release notes Signed-off-by: albertteoh --- RELEASE.md | 22 +++++++++++++++++----- secring.gpg | Bin 0 -> 3787 bytes 2 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 secring.gpg diff --git a/RELEASE.md b/RELEASE.md index 3658ca4c4..dece70496 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -30,11 +30,12 @@ While the Travis build is ready for that, releasing locally requires the followi * generate keys: `gpg --gen-key` * see installed keys with `gpg --list-keys` or `gpg --list-secret-keys` * create an account with Sonatype, get repo permissions (e.g. https://issues.sonatype.org/browse/OSSRH-23572) + * export the secret key ring file with `gpg --export -o $HOME/.gnupg/secring.gpg` or `gpg --export-secret-keys -o $HOME/.gnupg/secring.gpg` * create `$HOME/.gradle/gradle.properties` file or add parameters directly as it is shown at the last step. ``` - signing.keyId={key ID from gpg --list-secret-keys} - signing.password={password you used to encrypt keys via gpg --gen-key} - signing.secretKeyRingFile={e.g. [home path]/.gnupg/secring.gpg} + signing.keyId={8 hex digit key ID from: gpg --list-secret-keys --keyid-format short} + signing.password={password you used to encrypt keys via: gpg --gen-key} + signing.secretKeyRingFile={e.g. $HOME/.gnupg/secring.gpg} ossrhUsername={your user name at Sonatype} ossrhPassword={your password at Sonatype} @@ -43,8 +44,10 @@ While the Travis build is ready for that, releasing locally requires the followi * `gpg --keyserver http://keyserver.ubuntu.com:11371 --send-keys {pub key ID}` * you can also use Web UI and upload plain test key that you can obtain via * `gpg --armor --export {your email used for the keys}` - * Run gradle upload to Nexus. Note that it might be necessary to close and release via Nexus UI. - * `./gradlew upload -Psigning.keyId= -Psigning.password= -Psigning.secretKeyRingFile=/.gnupg/secring.gpg -PossrhUsername= -PossrhPassword=` + * Publish the release to Nexus. + * `./gradlew publish` + * Note that if this fails with error `Execution failed for task ':closeRepository'.`, it might be necessary to close and release via Nexus UI: + [Closing Staging Repository Manually](#Closing-Staging-Repository-Manually) ## Closing Staging Repository Manually @@ -54,3 +57,12 @@ While the Travis build is ready for that, releasing locally requires the followi * Once Close is successful, the Release button will become available, so hit it * Keep hitting Refresh while sync to Maven is in progress. Once it's complete, the repository will disappear. +If manually closing the Staging Repository fails, try cleaning up the existing open Staging Repositories +as advised in this gradle-nexus-staging-plugin +[github discussion thread](https://github.com/Codearte/gradle-nexus-staging-plugin/issues/69#issuecomment-380558983). + + * https://oss.sonatype.org/, log in, go to Staging Repositories. + You should see a list of jaeger staging deployments with Status "open". + * Select all staging deployments. + * Hit "Drop" button. Monitor the delete status by hitting Refresh until all Staging Repositories are deleted. + * Try running `./gradlew publish` again. diff --git a/secring.gpg b/secring.gpg new file mode 100644 index 0000000000000000000000000000000000000000..f94f1933ca3bc0ed01984e1a16954ad5d8792f98 GIT binary patch literal 3787 zcmajgVKhjLlFknX+y}7qF5wmmG~@lU|6sIr7B9L z)mc5I2)sq#QS958)x%ALUiMnPzNcz*W8S6_$3W)exf*EtusC6E+w*(bzqza)xDnaa z7zrOoR{kuu7@+pjsg9`ns>LAUb=8~fm^}6M_fu5&Nbgwr@iH-Rw z1_OEv*vNbK212?>;fyKpo^;jvsPa3F=F_iV+X>ABN_8YC{gYAWI{e>|M6paf2K3CV z>`jmc8q`+atE;mUq$|>)DydgF%VLSkeJ&_)8Gn%TW6|Z(YB};KuGI^OxHU@!H#V8fxDsAF#4Uut z*xeF%?RUmYelK;$03V@_u^%0u2-KEQo-b>(in9!jA+9f;YLd=pb9N`Yj7n6&k&@>l z>jS2FtkOAI4ZF&(Lo%q!S=^+S9!kIte$~wp=)@!m2Sf(o(bIW2k%*+|ZU3mnM>zM^ zF0Jv1!Bzw6^7 zW9Hkn8Vr1Wz@$E@S}#3RxDR)ua0FSzrjW;+g`Z{%TB$pS4hLn7W?DKTFDfOoRB7mgW?=*I}hSPE!mH@7zM* zh_=!gH9MZaC6V|~UfYjqdbF|dm@A7Xb4`hF z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