Skip to content

Commit

Permalink
Merge branch 'release-10.0.0' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
rbioteau committed Mar 13, 2024
2 parents aa181c9 + 32eb4aa commit 4be40b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/_reusable_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ on:
required: true
GPG_KEYNAME:
required: true
GPG_PASSPHRASE:
required: true

jobs:
build:
Expand Down Expand Up @@ -66,9 +68,12 @@ jobs:
- name: Publish ${{ steps.version.outputs.version }} to Artifactory
if: ${{ inputs.publishToArtifactory }}
env:
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
ALT_DEPLOYMENT_REPOSITORY: ${{ endsWith(steps.version.outputs.version,'-SNAPSHOT') && format('snapshots::{0}', vars.SNAPSHOTS_REPOSITORY_URL) || format('staging::{0}', vars.STAGING_REPOSITORY_URL) }}
run: ./mvnw --no-transfer-progress -B deploy -Dgpg.keyname=${{ secrets.GPG_KEYNAME }} -Prelease -DaltDeploymentRepository=${{env.ALT_DEPLOYMENT_REPOSITORY}}
- name: Publish ${{ steps.version.outputs.version }} to Central
# Never publish a Weekly build to Maven Central
if: ${{ inputs.publishToCentral && !contains(steps.version.outputs.version,'W')}}
env:
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
run: ./mvnw --no-transfer-progress -B deploy -Dgpg.keyname=${{ secrets.GPG_KEYNAME }} -Possrh
7 changes: 0 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -234,13 +234,6 @@
<goal>sign</goal>
</goals>
<phase>verify</phase>
<configuration>
<!-- Prevent `gpg` from using pinentry programs -->
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
Expand Down

0 comments on commit 4be40b6

Please sign in to comment.