Skip to content
This repository was archived by the owner on Sep 25, 2023. It is now read-only.

Commit d55fa6e

Browse files
authored
fix: ignore git tag failure to allow action re-run (#1209)
1 parent db9d2e6 commit d55fa6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.ts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
if: github.ref == 'refs/heads/master' && startsWith(github.event.head_commit.message, 'release:')
2626
run: |
2727
CURRENT_VERSION=$(node -p "require('./package.json').version")
28-
git tag v${CURRENT_VERSION} -m v${CURRENT_VERSION}
28+
git tag v${CURRENT_VERSION} -m v${CURRENT_VERSION} || true
2929
git push --tags
3030
3131
- name: (Prod) Create github release

0 commit comments

Comments
 (0)