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 \ --no-transfer-progress \
--batch-mode \ --batch-mode \
-Dgpg.passphrase=${{ secrets.OSSRH_GPG_KEY_PASSWORD }} \ -Dgpg.passphrase=${{ secrets.OSSRH_GPG_KEY_PASSWORD }} \
-P ossrh \
clean deploy clean deploy
- id: push-new-version - id: push-new-version
name: push new version name: push new version

View File

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