We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d0603a commit b8aba0dCopy full SHA for b8aba0d
.github/workflows/release.yaml
@@ -71,12 +71,10 @@ jobs:
71
72
- name: Update latest tag
73
run: |
74
- curl -X POST \
+ curl -X PATCH \
75
-H "Authorization: Bearer ${{ secrets.WORKFLOW_TOKEN }}" \
76
-H "Accept: application/vnd.github.v3+json" \
77
- https://api.github.com/repos/${{ github.repository }}/git/refs \
+ https://api.github.com/repos/${{ github.repository }}/git/refs/tags/${{ env.LATEST_TAG }} \
78
-d '{
79
- "ref": "refs/tags/${{ env.LATEST_TAG }}",
80
"sha": "${{ github.sha }}",
81
- "force": true
82
}'
0 commit comments