Skip to content

Commit 740c720

Browse files
committed
ci: don't auto-create tags
1 parent 67a26be commit 740c720

File tree

2 files changed

+14
-82
lines changed

2 files changed

+14
-82
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Release
22

33
on:
44
push:
5+
tags:
6+
- 'v*'
57

68
jobs:
79
release:
@@ -30,18 +32,9 @@ jobs:
3032
pnpm zip:firefox
3133
mv .output/*-firefox.zip .output/tailname-firefox.zip
3234
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-
4235
- name: Create GitHub Release and upload ZIPs
4336
uses: ncipollo/release-action@v1
4437
with:
4538
artifacts: ".output/tailname-chrome.zip,.output/tailname-firefox.zip"
4639
generateReleaseNotes: true
47-
tag: ${{ steps.create_and_push_tag.outputs.TAG }}
40+
tag: ${{ github.ref }}

pnpm-lock.yaml

Lines changed: 11 additions & 72 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)