From f05e1effbafc244a32668ca94ddf02e421e77688 Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov <{ID}+{username}@users.noreply.github.com> Date: Sun, 12 Jan 2025 11:22:10 +0200 Subject: [PATCH] Update RELEASE.md to exclude samples and reports in release Modified Maven commands to skip 'samples' and 'reports' modules during release preparation and performance steps. Also added troubleshooting steps for gpg-agent issues to improve clarity. --- RELEASE.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index 35f2e6d..5446a91 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -16,14 +16,14 @@ ```shell mvn release:prepare \ -Dresume=false \ - -DpushChanges=false + -DpushChanges=false \ + -pl '!samples,!reports' ``` 3. Perform the release ```shell - GPG_TTY=$(tty) && \ - export GPG_TTY && \ - mvn release:perform -DlocalCheckout=true + export GPG_TTY=$(tty) && \ + mvn release:perform -DlocalCheckout=true -pl '!samples,!reports' ``` https://stackoverflow.com/a/57591830/3315474 @@ -32,7 +32,9 @@ In case of GPG error `gpg: signing failed: Screen or window too small`, [try this](https://stackoverflow.com/a/67498543/3315474): ```shell +gpgconf --kill gpg-agent gpg -K --keyid-format SHORT +echo "test" | gpg --clearsign ``` 4. Push