File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed
Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -47,22 +47,15 @@ jobs:
4747 echo "version=$VERSION" >> $GITHUB_OUTPUT
4848 echo "Extracted version: $VERSION"
4949
50- - name : Set up GPG
51- run : |
52- echo "${{ secrets.GPG_PASSPHRASE }}" | gpg --batch --yes --pinentry-mode loopback --passphrase-fd 0 --import <(echo "${{ secrets.GPG_PRIVATE_KEY }}")
53-
5450 - name : Configure Git
5551 run : |
5652 git config --global user.name "GitHub Actions"
5753 git config --global user.email "github-actions@github.com"
58- git config --global user.signingkey ${{ secrets.GPG_KEY_ID }}
59- git config --global commit.gpgsign true
60- git config --global tag.gpgsign true
6154
6255 - name : Create and push Github tag
6356 run : |
6457 echo "Creating tag v${{ steps.version.outputs.version }}"
65- echo "${{ secrets.GPG_PASSPHRASE }}" | git tag -s "v${{ steps.version.outputs.version }}" -m "Release v${{ steps.version.outputs.version }}"
58+ git tag -a "v${{ steps.version.outputs.version }}" -m "Release v${{ steps.version.outputs.version }}"
6659 echo "Pushing tag to origin..."
6760 git push origin "v${{ steps.version.outputs.version }}"
6861 echo "Verifying tag was pushed:"
8376 dist/*.whl
8477 dist/*.tar.gz
8578 generate_release_notes : true
86-
87- - name : Cleanup GPG keys
88- run : |
89- gpg --delete-secret-keys --batch --yes "${{ secrets.GPG_KEY_ID }}"
90- gpg --delete-keys --batch --yes "${{ secrets.GPG_KEY_ID }}"
You can’t perform that action at this time.
0 commit comments