Skip to content

Commit 06b4c18

Browse files
committed
docs
1 parent bcb7563 commit 06b4c18

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,21 +185,21 @@ Maintenance tasks:
185185

186186
### Release
187187

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:
191189

192190
```bash
193191
cd packages/neovim
194-
npm version <update_type>
192+
# Choose major/minor/patch as needed.
193+
npm version patch
195194
cd -
196195
# Note: this copies the top-level README.md to packages/neovim.
197196
npm run publish:neovim
198197

199198
# Post-relase
199+
export _VERSION=$(grep -o 'version": "[^"]\+' packages/neovim/package.json | sed 's/.*"//')
200+
git tag "v${_VERSION}"
200201
cd packages/neovim/
201202
npm version --no-git-tag-version prerelease --preid dev && git add package*.json && git commit -m bump
202-
git tag v4.11.0
203203
git push --follow-tags
204204
```
205205

0 commit comments

Comments
 (0)