File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -185,21 +185,21 @@ Maintenance tasks:
185
185
186
186
### Release
187
187
188
- Only maintainers of the [ neovim NPM package] ( https://www.npmjs.com/package/neovim ) can publish a release.
189
-
190
- Follow these steps to publish a release (where ` update_type ` is one of ` patch ` , ` minor ` , or ` major ` ):
188
+ Only maintainers of the [ neovim NPM package] ( https://www.npmjs.com/package/neovim ) can publish a release. Follow these steps to publish a release:
191
189
192
190
``` bash
193
191
cd packages/neovim
194
- npm version < update_type>
192
+ # Choose major/minor/patch as needed.
193
+ npm version patch
195
194
cd -
196
195
# Note: this copies the top-level README.md to packages/neovim.
197
196
npm run publish:neovim
198
197
199
198
# Post-relase
199
+ export _VERSION=$( grep -o ' version": "[^"]\+' packages/neovim/package.json | sed ' s/.*"//' )
200
+ git tag " v${_VERSION} "
200
201
cd packages/neovim/
201
202
npm version --no-git-tag-version prerelease --preid dev && git add package* .json && git commit -m bump
202
- git tag v4.11.0
203
203
git push --follow-tags
204
204
```
205
205
You can’t perform that action at this time.
0 commit comments