From 80840486a72163ebccbe02cdb0ec953d6d6ac9a8 Mon Sep 17 00:00:00 2001 From: ebocher Date: Tue, 18 Jun 2024 08:42:08 +0200 Subject: [PATCH 1/2] Sonatype auth --- .github/workflows/CI release.yml | 4 ++-- docs/CHANGELOG.md | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI release.yml b/.github/workflows/CI release.yml index 78e692ff..49823ca1 100644 --- a/.github/workflows/CI release.yml +++ b/.github/workflows/CI release.yml @@ -70,8 +70,8 @@ jobs: release:prepare release:perform \ -Dusername=$GITHUB_ACTOR -Dpassword=$GITHUB_TOKEN ${VERSION:+"-DdevelopmentVersion="$VERSION"-SNAPSHOT"} env: - MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} + MAVEN_USERNAME: ${{ secrets.MVN_CENTRAL_USERNAME }} + MAVEN_PASSWORD: ${{ secrets.MVN_CENTRAL_PASSWORD }} MAVEN_GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_PASSWORD }} # Export the last git tag into env. diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 543475c5..b935e558 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -3,4 +3,5 @@ - Refactoring to manage data exceptions - Fix exception on script template - Standardizing method names -- Update to H2GIS 2.2.2-SNAPSHOT \ No newline at end of file +- Update to H2GIS 2.2.2-SNAPSHOT +- Use new sonatype auth \ No newline at end of file From 6792a168ad5c5e5334f0e31ebab877f2851cf278 Mon Sep 17 00:00:00 2001 From: ebocher Date: Tue, 18 Jun 2024 08:42:32 +0200 Subject: [PATCH 2/2] Sonatype auth --- .github/workflows/CI snapshot.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI snapshot.yml b/.github/workflows/CI snapshot.yml index c1aa3d33..460b9a07 100644 --- a/.github/workflows/CI snapshot.yml +++ b/.github/workflows/CI snapshot.yml @@ -51,6 +51,6 @@ jobs: - name: Deploy run: mvn deploy -ntp --batch-mode env: - MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} + MAVEN_USERNAME: ${{ secrets.MVN_CENTRAL_USERNAME }} + MAVEN_PASSWORD: ${{ secrets.MVN_CENTRAL_PASSWORD }} MAVEN_GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_PASSWORD }}