Skip to content

Commit

Permalink
Enable signing
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienvermeille committed Aug 11, 2023
1 parent 306bda8 commit e45aa39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: GPG_PASSPHRASE # Env var that holds the key's passphrase
- name: Publish to the Maven Central Repository
run: mvn --no-transfer-progress --batch-mode deploy
run: mvn --no-transfer-progress --batch-mode deploy -DperformRelease=true
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME_OSSRH }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD_OSSRH }}
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<!--plugins version -->
<jacoco.maven.plugin.version>0.8.10</jacoco.maven.plugin.version>
<sonar.maven.plugin.version>3.9.1.2184</sonar.maven.plugin.version>
<plugin.maven.gpg.version>3.1.0</plugin.maven.gpg.version>
<maven.gpg.plugin.version>3.1.0</maven.gpg.plugin.version>

<!-- sonar analysis -->
<sonar.organization>sebastienvermeille</sonar.organization>
Expand Down Expand Up @@ -149,7 +149,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${plugin.maven.gpg.version}</version>
<version>${maven.gpg.plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
Expand Down Expand Up @@ -276,7 +276,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${plugin.maven.gpg.version}</version>
<version>${maven.gpg.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
Expand Down

0 comments on commit e45aa39

Please sign in to comment.