diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 7e382251b..b135983b4 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -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' }}