+10
.github/workflows/release.yml
+10
.github/workflows/release.yml
···
30
30
pnpm zip:firefox
31
31
mv .output/*-firefox.zip .output/tailname-firefox.zip
32
32
33
+
- name: Create and push tag
34
+
id: create_and_push_tag
35
+
run: |
36
+
TAG=auto-release-$(git rev-parse --short HEAD)
37
+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
38
+
git config --global user.name "github-actions[bot]"
39
+
git tag $TAG
40
+
git push origin $TAG
41
+
33
42
- name: Create GitHub Release and upload ZIPs
34
43
uses: ncipollo/release-action@v1
35
44
with:
36
45
artifacts: ".output/tailname-chrome.zip,.output/tailname-firefox.zip"
37
46
generateReleaseNotes: true
47
+
tag: ${{ steps.create_and_push_tag.outputs.TAG }}