Merge pull request #93 from y574444354/feat/workflow

ci(publish-npm): add debug output and fault tolerance to version bump…
This commit is contained in:
linkai0924 2026-05-14 18:38:42 +08:00 committed by GitHub
commit 8b4d990489
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,9 +49,11 @@ jobs:
# Commit and push version bump
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add package.json scripts/defines.ts
git commit -m "chore(release): bump version to ${VERSION}"
git push origin HEAD
git status
git diff
git add -A
git commit -m "chore(release): bump version to ${VERSION}" || true
git push origin HEAD || true
- name: Create or recreate tag
if: ${{ github.event_name == 'workflow_dispatch' }}