Skip to content

Commit 8764e63

Browse files
committed
use master for release
1 parent 4c33e17 commit 8764e63

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,16 @@ jobs:
2424
contents: write
2525
steps:
2626
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
27-
- name: Import GPG key
28-
run: echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --import
27+
with:
28+
ref: 'master'
29+
- name: Get the latest commit SHA
30+
id: get-sha
31+
run: echo "sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
2932
- name: Create release tag
3033
uses: rickstaa/action-create-tag@a1c7777fcb2fee4f19b0f283ba888afa11678b72
3134
with:
3235
tag: ${{ inputs.version_number }}
33-
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
34-
gpg_passphrase: ${{ secrets.PASSPHRASE }}
36+
commit_sha: ${{ steps.get-sha.outputs.sha }}
3537

3638
release:
3739
needs: create-tag

0 commit comments

Comments
 (0)