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 c4a99a891765bac7d475ab29f1c09d633a971b25
Author: Bertil Chapuis <[email protected]>
AuthorDate: Thu Mar 14 11:22:08 2024 +0100

    disable maven gpg for now
---
 .github/workflows/release.yml | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 6f6aa7dd..af6ca562 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,9 +47,9 @@ 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"
+          gpg --no-tty --quiet --pinentry-mode loopback --default-key "${{ 
secrets.GPG_KEY_ID }}" --batch --yes --passphrase "${{ secrets.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
         id: upload-source-release
         uses: actions/upload-release-asset@v1
@@ -85,9 +85,9 @@ 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"
+          gpg --no-tty --quiet --pinentry-mode loopback --default-key "${{ 
secrets.GPG_KEY_ID }}" --batch --yes --passphrase "${{ secrets.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
         id: upload-binary-release
         uses: actions/upload-release-asset@v1

Reply via email to