Skip to content

Commit 2fdb245

Browse files
committed
💚 Fix release
1 parent dda943a commit 2fdb245

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,21 @@ jobs:
2929
- name: Test
3030
run: |
3131
tree-sitter test
32-
rm .gitignore
32+
- uses: actions/checkout@v4
33+
with:
34+
ref: release
35+
path: release
36+
- name: Release
37+
run: |
38+
rm -rf release/src
39+
cp -r src release
3340
- uses: stefanzweifel/git-auto-commit-action@v5
3441
with:
42+
repository: release
3543
branch: release
3644
commit_message: 'chore: update generated artifacts'
3745
file_pattern: src
46+
add_options: -f
3847

3948
deploy-npm:
4049
runs-on: ubuntu-latest

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ For tmux format string, install
4949
[tree-sitter-tmuxf](https://github.com/Freed-Wu/tree-sitter-tmuxf).
5050

5151
If you don't want to install nodejs to generate `src/grammar.json`,
52-
use [release](https://github.com/Freed-Wu/tree-sitter-tmux/tree/release)
52+
use [release](https://github.com/Freed-Wu/tree-sitter-tmux/tree/release).

0 commit comments

Comments
 (0)