Skip to content

Commit efbfb78

Browse files
committed
ci: explicitly set tag
1 parent ef5681f commit efbfb78

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,13 @@ jobs:
192192
echo "$ASSETS" >> $GITHUB_ENV
193193
echo "EOF" >> $GITHUB_ENV
194194
195+
- name: Create and push tag
196+
run: |
197+
git config user.name "GitHub Action"
198+
git config user.email "action@github.com"
199+
git tag -a "v${{ env.VERSION }}" -m "Release v${{ env.VERSION }}"
200+
git push origin "v${{ env.VERSION }}"
201+
195202
- name: Create GitHub Release and Upload Assets
196203
uses: softprops/action-gh-release@v2
197204
with:

0 commit comments

Comments
 (0)