Ossrh profile should be explicitly enabled

Fixes GPG issue building #31

Signed-off-by: Cédric Couralet <cedric.couralet@insee.fr>
This commit is contained in:
Cédric Couralet 2021-08-02 08:30:28 +02:00 committed by Cédric Couralet
parent 02f043d077
commit de5a741be1
2 changed files with 51 additions and 50 deletions

View File

@ -30,6 +30,7 @@ jobs:
--no-transfer-progress \
--batch-mode \
-Dgpg.passphrase=${{ secrets.OSSRH_GPG_KEY_PASSWORD }} \
-P ossrh \
clean deploy
- id: push-new-version
name: push new version

View File

@ -105,11 +105,11 @@
<profile>
<id>ossrh</id>
<activation>
<activeByDefault>true</activeByDefault>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<gpg.executable>gpg</gpg.executable>
<!-- <gpg.passphrase>${env.GPG_PASSWORD}</gpg.passphrase> -->
<!-- <gpg.passphrase>${env.GPG_PASSWORD}</gpg.passphrase> -->
</properties>
<distributionManagement>
<snapshotRepository>