Skip to content

Commit b8aba0d

Browse files
committed
fix tagging issues
1 parent 9d0603a commit b8aba0d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,10 @@ jobs:
7171

7272
- name: Update latest tag
7373
run: |
74-
curl -X POST \
74+
curl -X PATCH \
7575
-H "Authorization: Bearer ${{ secrets.WORKFLOW_TOKEN }}" \
7676
-H "Accept: application/vnd.github.v3+json" \
77-
https://api.github.com/repos/${{ github.repository }}/git/refs \
77+
https://api.github.com/repos/${{ github.repository }}/git/refs/tags/${{ env.LATEST_TAG }} \
7878
-d '{
79-
"ref": "refs/tags/${{ env.LATEST_TAG }}",
8079
"sha": "${{ github.sha }}",
81-
"force": true
8280
}'

0 commit comments

Comments
 (0)