Skip to content

Commit

Permalink
Fix release (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi authored Jan 13, 2024
1 parent 12729c9 commit 1dc88fc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,15 @@ jobs:
"password": "${{ secrets.PASSWORD }}"
}
]
profiles: >
[
{
"id": "ossrh",
"properties": {
"gpg.executable": "gpg",
"gpg.passphrase": "${{ secrets.GPG_PASSPHRASE }}"
}
}
]
- name: Publish to Maven Central
run: |
git config user.signingkey ${{ secrets.GPG_KEY }}
mvn -B deploy -P ossrh
env:
GPG_KEYNAME: ${{ secrets.GPG_KEYNAME }}
run: mvn -B deploy -P ossrh
2 changes: 0 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -702,8 +702,6 @@
<goal>sign</goal>
</goals>
<configuration>
<keyname>${env.GPG_KEYNAME}</keyname>
<passphraseServerId>${env.GPG_KEYNAME}</passphraseServerId>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
Expand Down

0 comments on commit 1dc88fc

Please sign in to comment.