diff --git a/.github/workflows/pre-release.yaml b/.github/workflows/pre-release.yaml index ed569aae..4a765ce5 100644 --- a/.github/workflows/pre-release.yaml +++ b/.github/workflows/pre-release.yaml @@ -37,7 +37,7 @@ jobs: GPG_PASSPHRASE: ${{ env.GPG_PASSPHRASE }} run: | echo "Importing gpg key" - echo -n "${{ env.GPG_KEY }}" | base64 --decode | gpg --import --batch > /dev/null + echo -n "${{ env.GPG_KEY }}" | gpg --import --batch > /dev/null echo "signing SHASUM file" VERSION_NO_V=$(echo ${{ github.ref_name }} | sed "s/^[v|V]//") SHASUM_FILE=dist/artifacts/${{ github.ref_name }}/terraform-provider-rancher2_"$VERSION_NO_V"_SHA256SUMS diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 19e35f7f..df6e7933 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -37,7 +37,7 @@ jobs: GPG_PASSPHRASE: ${{ env.GPG_PASSPHRASE }} run: | echo "Importing gpg key" - echo -n "${{ env.GPG_KEY }}" | base64 --decode | gpg --import --batch > /dev/null + echo -n "${{ env.GPG_KEY }}" | gpg --import --batch > /dev/null echo "signing SHASUM file" VERSION_NO_V=$(echo ${{ github.ref_name }} | sed "s/^[v|V]//") SHASUM_FILE=dist/artifacts/${{ github.ref_name }}/terraform-provider-rancher2_"$VERSION_NO_V"_SHA256SUMS