Skip to content

Commit 122b6ce

Browse files
authored
fix: manually sign tag (#19)
1 parent f6104dc commit 122b6ce

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,11 @@ jobs:
151151
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
152152
passphrase: ${{ secrets.GPG_PASSPHRASE }}
153153
git_user_signingkey: true
154-
git_tag_gpgsign: true
155154

156155
- name: Create signed tag for this repository
157156
run: |
158-
# Create tag (will be automatically signed due to git_tag_gpgsign: true)
159-
git tag ${{ steps.tag.outputs.tag_name }} -m "Release ${{ steps.tag.outputs.tag_name }}" --force
157+
# Create and explicitly sign the tag with -s flag
158+
git tag -s ${{ steps.tag.outputs.tag_name }} -m "Release ${{ steps.tag.outputs.tag_name }}" --force
160159
161160
# Push the signed tag to the repository
162161
git push origin ${{ steps.tag.outputs.tag_name }} --force

0 commit comments

Comments
 (0)