We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2c25b67 + 5ae826f commit 48d4944Copy full SHA for 48d4944
1 file changed
.github/workflows/tag.yml
@@ -46,8 +46,12 @@ jobs:
46
fi
47
48
- name: Create Tag
49
- uses: negz/create-tag@v1
50
- with:
51
- version: "${{ env.TAG }}"
52
- message: "Version ${{ env.TAG }}"
53
- token: ${{ secrets.GITHUB_TOKEN }}
+ run: |
+ SHA=$(git rev-parse HEAD)
+ gh api /repos/${{ github.repository }}/git/refs \
+ --method POST \
+ -f ref="refs/tags/${TAG}" \
54
+ -f sha="$SHA"
55
+ env:
56
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57
+ TAG: ${{ env.TAG }}
0 commit comments