File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -64,19 +64,23 @@ Release
64
64
Steps to perform a release:
65
65
66
66
1 . Bump and tag the version:
67
- ```
67
+ ``` bash
68
68
npm version patch -m " release %s"
69
69
```
70
70
Choose ` patch ` /` minor ` /` major ` to indicate query compatibility:
71
71
- ` patch ` for bugfixes (no changes to queries needed)
72
72
- ` minor ` for added nodes (queries may need changes to use new nodes but will not error)
73
73
- ` major ` for removed or renamed nodes (queries will error if not adapted), other breaking changes
74
+
75
+ Ensure that ` Cargo.toml ` , ` pyproject.toml ` , and ` Makefile ` also have the same version.
74
76
2 . Bump to prerelease, without creating a tag:
75
- ```
76
- npm version --no-git-tag-version prerelease --preid dev && git add package*.json && git commit -m bump
77
+ ``` bash
78
+ npm version --no-git-tag-version prerelease --preid dev
79
+ git add package* .json Cargo.toml pyproject.toml Makefile
80
+ git commit -m bump
77
81
```
78
82
3 . Push:
79
- ```
80
- git push --follow -tags
83
+ ``` bash
84
+ git push && git push - -tags
81
85
```
82
86
4 . Release the tagged commit: https://github.com/neovim/tree-sitter-vimdoc/releases/new
You can’t perform that action at this time.
0 commit comments