Skip to content

Commit f05e1ef

Browse files
Konstantin PavlovKonstantin Pavlov
authored andcommitted
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.
1 parent 56e779f commit f05e1ef

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

RELEASE.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
```shell
1717
mvn release:prepare \
1818
-Dresume=false \
19-
-DpushChanges=false
19+
-DpushChanges=false \
20+
-pl '!samples,!reports'
2021
```
2122
3. Perform the release
2223

2324
```shell
24-
GPG_TTY=$(tty) && \
25-
export GPG_TTY && \
26-
mvn release:perform -DlocalCheckout=true
25+
export GPG_TTY=$(tty) && \
26+
mvn release:perform -DlocalCheckout=true -pl '!samples,!reports'
2727
```
2828

2929
https://stackoverflow.com/a/57591830/3315474
@@ -32,7 +32,9 @@ In case of GPG error
3232
`gpg: signing failed: Screen or window too small`, [try this](https://stackoverflow.com/a/67498543/3315474):
3333

3434
```shell
35+
gpgconf --kill gpg-agent
3536
gpg -K --keyid-format SHORT
37+
echo "test" | gpg --clearsign
3638
```
3739

3840
4. Push

0 commit comments

Comments
 (0)