This is an automated email from the ASF dual-hosted git repository. bchapuis pushed a commit to branch 752-release-automation in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git
commit a8ea9117e6310f1e5e29aebb774130870d0eaeaa Author: Bertil Chapuis <[email protected]> AuthorDate: Thu Mar 14 11:22:08 2024 +0100 disable maven gpg for now --- .github/workflows/release.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6f6aa7dd..7fa269ea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,16 +20,16 @@ jobs: java-version: 17 distribution: temurin cache: maven - server-id: apache - server-username: ${{ secrets.SERVER_USERNAME }} - server-password: ${{ secrets.SERVER_PASSWORD }} - gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} - gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }} +# server-id: apache +# server-username: ${{ secrets.SERVER_USERNAME }} +# server-password: ${{ secrets.SERVER_PASSWORD }} +# gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} +# gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }} - name: Extract version run: echo ::set-output name=value::$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec) id: version - name: Build project - run: mvn install -P release -B + run: mvn install -B # Create a GitHub release draft - name: Create GitHub Release @@ -47,7 +47,7 @@ jobs: - name: Sign and hash source release shell: bash run: | - echo "${{ secrets.GPG_PRIVATE_KEY }}" | base64 --decode | gpg --import + echo "${{ secrets.GPG_PRIVATE_KEY }}" | base64 --decode | gpg --import --batch shasum -a 512 "./baremaps-cli/target/apache-baremaps-${{ steps.version.outputs.value }}-incubating-src.tar.gz" > "./baremaps-cli/target/apache-baremaps-${{ steps.version.outputs.value }}-incubating-src.tar.gz.sha512" gpg --no-tty --quiet --pinentry-mode loopback --default-key "$GPG_KEY_ID" --batch --yes --passphrase "$GPG_PASSPHRASE" --output "./baremaps-cli/target/apache-baremaps-${{ steps.version.outputs.value }}-incubating-src.tar.gz.asc" --detach-sign --armor "./baremaps-cli/target/apache-baremaps-${{ steps.version.outputs.value }}-incubating-src.tar.gz" - name: Upload source release @@ -85,7 +85,7 @@ jobs: - name: Sign and hash source release shell: bash run: | - echo "${{ secrets.GPG_PRIVATE_KEY }}" | base64 --decode | gpg --import + echo "${{ secrets.GPG_PRIVATE_KEY }}" | base64 --decode | gpg --import --batch shasum -a 512 "./baremaps-cli/target/apache-baremaps-${{ steps.version.outputs.value }}-incubating-bin.tar.gz" > "./baremaps-cli/target/apache-baremaps-${{ steps.version.outputs.value }}-incubating-bin.tar.gz.sha512" gpg --no-tty --quiet --pinentry-mode loopback --default-key "$GPG_KEY_ID" --batch --yes --passphrase "$GPG_PASSPHRASE" --output "./baremaps-cli/target/apache-baremaps-${{ steps.version.outputs.value }}-incubating-bin.tar.gz.asc" --detach-sign --armor "./baremaps-cli/target/apache-baremaps-${{ steps.version.outputs.value }}-incubating-bin.tar.gz" - name: Upload binary release
