Skip to content

Commit

Permalink
Use ossrh profile in gitlab pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffen Kremsler committed Feb 26, 2024
1 parent 263d381 commit 0f9c48c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab/.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ deploy to maven central:
- gpg --list-keys
- gpg --list-packets releases@kgs-software.com.signing-subkey.asc
# package, sign, deploy
- mvn -Dossrh.username=$OSSRH_MAVEN_CENTRAL_REPOSITORY_TOKEN_NAME -Dossrh.password=$OSSRH_MAVEN_CENTRAL_REPOSITORY_TOKEN -Dgpg.passphrase="$PGP_RELEASE_SIGNING_KEY_PASSPHRASE" -Dgpg.keyname="$PGP_RELEASE_SIGNING_KEY_ID" package gpg:sign deploy -DskipTests
- mvn -P ossrh -Dossrh.username=$OSSRH_MAVEN_CENTRAL_REPOSITORY_TOKEN_NAME -Dossrh.password=$OSSRH_MAVEN_CENTRAL_REPOSITORY_TOKEN -Dgpg.passphrase="$PGP_RELEASE_SIGNING_KEY_PASSPHRASE" -Dgpg.keyname="$PGP_RELEASE_SIGNING_KEY_ID" package gpg:sign deploy -DskipTests
rules:
- if: $CI_COMMIT_TAG

Expand Down

0 comments on commit 0f9c48c

Please sign in to comment.