Skip to content

Commit

Permalink
Use GPG secret directly instead of indirectly via an environment vari…
Browse files Browse the repository at this point in the history
…able
  • Loading branch information
BjoernLoetters committed Feb 2, 2025
1 parent f7cceb7 commit 99a7edc
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
java-version: '21'
distribution: 'temurin'
server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
server-username: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
server-password: ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
gpg-private-key: ${{ secrets.GPG_SIGNING_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
gpg-passphrase: ${{ secrets.GPG_SIGNING_KEY_PASSWORD }}

- name: Set version
run: mvn versions:set -DnewVersion=${{ github.event.release.tag_name }}
Expand Down
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.bjoernloetters</groupId>
<artifactId>jjparse</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>

<artifactId>jjparse-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion documentation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.bjoernloetters</groupId>
<artifactId>jjparse</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>

<name>${project.parent.name} - Documentation</name>
Expand Down
2 changes: 1 addition & 1 deletion examples/json/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.bjoernloetters</groupId>
<artifactId>jjparse-examples</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>

<name>${project.parent.name} - Examples - JSON</name>
Expand Down
2 changes: 1 addition & 1 deletion examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>io.github.bjoernloetters</groupId>
<artifactId>jjparse</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>

<artifactId>jjparse-examples</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.github.bjoernloetters</groupId>
<artifactId>jjparse</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
<packaging>pom</packaging>

<name>Jar Jar Parse</name>
Expand Down

0 comments on commit 99a7edc

Please sign in to comment.