File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 CENTRAL_USERNAME : ${{ secrets.CENTRAL_USERNAME }}
4646 CENTRAL_PASSWORD : ${{ secrets.CENTRAL_PASSWORD }}
4747 run : |
48- mvn -B -ntp clean deploy
48+ mvn -B -ntp -Dgpg.passphrase="${{ secrets.GPG_PASSPHRASE }}" clean deploy
4949
5050 - name : Configure Git identity
5151 run : |
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ Automated Release (preferred)
8484- Push a tag named ` release/X.Y.Z ` (semver, no leading ` v ` ).
8585- The workflow ` .github/workflows/release-on-tag.yml ` will:
8686 - Create a GitHub Release for that tag with autogenerated notes.
87- - Build and deploy artifacts to Maven Central (Central Publishing plugin).
87+ - Build and deploy artifacts to Maven Central (Central Publishing plugin). Uses ` -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} ` for signing.
8888 - Create a branch ` release-bot-YYYYMMDD-HHMMSS ` at the tagged commit and open a PR back to ` main ` (no version bumps).
8989
9090Manual Release (local)
Original file line number Diff line number Diff line change 3939 env :
4040 CENTRAL_USERNAME : ${{ secrets.CENTRAL_USERNAME }}
4141 CENTRAL_PASSWORD : ${{ secrets.CENTRAL_PASSWORD }}
42- run : mvn -B -ntp clean deploy
42+ run : mvn -B -ntp -Dgpg.passphrase="${{ secrets.GPG_PASSPHRASE }}" clean deploy
4343 - name : Configure Git identity
4444 run : |
4545 git config user.name "github-actions[bot]"
You can’t perform that action at this time.
0 commit comments