From 64f0fca9ca2c901d13c8779bbfdef8c8ae50a7af Mon Sep 17 00:00:00 2001 From: wabaker1 Date: Wed, 7 Aug 2024 11:12:14 -0700 Subject: [PATCH 1/3] update provenance client to 2.4.0 --- kotlin-tools/gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kotlin-tools/gradle/libs.versions.toml b/kotlin-tools/gradle/libs.versions.toml index 3d36a4e..037dc4b 100644 --- a/kotlin-tools/gradle/libs.versions.toml +++ b/kotlin-tools/gradle/libs.versions.toml @@ -6,7 +6,7 @@ jackson = "2.14.1" jackson-protobuf = "0.9.13" kotlin = "1.9.10" protobuf = "3.21.12" -provenance-client = "2.4.0-rc1" +provenance-client = "2.4.0" provenance-hdwallet = "0.1.15" provenance-proto = "1.13.0" provenance-scope = "0.6.2" From 5642549545548b635307b2d16e38938b1f545cbd Mon Sep 17 00:00:00 2001 From: wabaker1 Date: Wed, 7 Aug 2024 15:28:15 -0700 Subject: [PATCH 2/3] swap signing key id to match other similar repos --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6f34e35..4fdabe4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -61,7 +61,7 @@ jobs: ACTIONS_ALLOW_UNSECURE_COMMANDS: true steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Get Release Version run: | @@ -99,6 +99,6 @@ jobs: echo "Publishing release for version [$RELEASE_VERSION]" ./kotlin-tools/gradlew publishToSonatype $(if [ "${{github.event.release.prerelease}}" = "true" ]; then echo 'closeSonatypeStagingRepository'; else echo 'closeAndReleaseSonatypeStagingRepository'; fi) \ -Pversion=$RELEASE_VERSION \ - -Psigning.keyId="${{ secrets.OSSRH_GPG_SECRET_KEY_ID }}" -Psigning.password="${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}" -Psigning.secretKeyRingFile=$GITHUB_WORKSPACE/release.gpg \ + -Psigning.keyId=69C08EA0 -Psigning.password="${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}" -Psigning.secretKeyRingFile=$GITHUB_WORKSPACE/release.gpg \ --info \ --project-dir ./kotlin-tools From ac4ec2d1e36a8b9106a52693ed0bd2d806f7a7ef Mon Sep 17 00:00:00 2001 From: wabaker1 Date: Wed, 7 Aug 2024 16:11:30 -0700 Subject: [PATCH 3/3] used new access tokens --- .github/workflows/release.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4fdabe4..0e791e1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -61,7 +61,7 @@ jobs: ACTIONS_ALLOW_UNSECURE_COMMANDS: true steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: Get Release Version run: | @@ -93,12 +93,12 @@ jobs: - name: Publish to Maven Central env: - OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} - OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} + OSSRH_USERNAME: ${{ secrets.OSSRH_ACCESS_TOKEN_USERNAME }} + OSSRH_PASSWORD: ${{ secrets.OSSRH_ACCESS_TOKEN_PASSWORD }} run: | echo "Publishing release for version [$RELEASE_VERSION]" ./kotlin-tools/gradlew publishToSonatype $(if [ "${{github.event.release.prerelease}}" = "true" ]; then echo 'closeSonatypeStagingRepository'; else echo 'closeAndReleaseSonatypeStagingRepository'; fi) \ -Pversion=$RELEASE_VERSION \ - -Psigning.keyId=69C08EA0 -Psigning.password="${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}" -Psigning.secretKeyRingFile=$GITHUB_WORKSPACE/release.gpg \ + -Psigning.keyId="${{ secrets.OSSRH_GPG_SECRET_KEY_ID }}" -Psigning.password="${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}" -Psigning.secretKeyRingFile=$GITHUB_WORKSPACE/release.gpg \ --info \ --project-dir ./kotlin-tools