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
6464Steps to perform a release:
6565
66661 . Bump and tag the version:
67- ```
67+ ``` bash
6868 npm version patch -m " release %s"
6969 ```
7070 Choose ` patch ` /` minor ` /` major ` to indicate query compatibility:
7171 - ` patch ` for bugfixes (no changes to queries needed)
7272 - ` minor ` for added nodes (queries may need changes to use new nodes but will not error)
7373 - ` 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.
74762 . 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
7781 ```
78823 . Push:
79- ```
80- git push --follow -tags
83+ ``` bash
84+ git push && git push - -tags
8185 ```
82864 . 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