From 0b43ce9c3bf15af83e0f9bb9312d954732bc58fa Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 3 Apr 2024 16:27:37 +0800 Subject: [PATCH] Fix release error --- .github/workflows/ci-cd.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 39e9cae07..7e22e5c24 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -170,15 +170,15 @@ jobs: git config --global user.signingkey ${{ secrets.GPG_PUB_KEY }} - mkdir -p ~/.gnupg + mkdir -p ~/.gnupg/ touch ~/.gnupg/gpg.conf + touch ~/.gnupg/gpg-agent.conf + echo "use-agent" >> ~/.gnupg/gpg.conf echo "pinentry-mode loopback" >> ~/.gnupg/gpg.conf - touch ~/.gnupg/gpg-agent.conf + echo "allow-loopback-pinentry" >> ~/.gnupg/gpg-agent.conf - echo RELOADAGENT | gpg-connect-agent - mkdir -p ~/.gnupg/ printf "${{ secrets.GPG_SIGNING_KEY }}" | base64 --decode > ~/.gnupg/private.key gpg --import ~/.gnupg/private.key - name: Bump version