Skip to content

Commit

Permalink
Update RELEASE.md to exclude samples and reports in release
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Konstantin Pavlov authored and Konstantin Pavlov committed Jan 12, 2025
1 parent 56e779f commit f05e1ef
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f05e1ef

Please sign in to comment.