Skip to content

Commit 41ec304

Browse files
committed
docs
1 parent 9dbf365 commit 41ec304

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

README.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -221,22 +221,27 @@ Only maintainers of the [neovim NPM package](https://www.npmjs.com/package/neovi
221221
2. Update version. Build and publish the package. Tag the release and push.
222222
```bash
223223
# Choose major/minor/patch as needed.
224-
npm version patch
224+
npm version --no-git-tag-version patch
225225
npm version -w packages/neovim/ patch
226+
git add package*.json packages/neovim/package.json
226227
git commit -m 'release'
227228
# Note: this copies the top-level README.md/CHANGELOG.md to packages/neovim/.
228229
npm run publish:neovim
229230
export _VERSION=$(grep -o 'version": "[^"]\+' packages/neovim/package.json | sed 's/.*"//')
230231
git tag "v${_VERSION}"
231232
git push --tags
232-
```
233-
3. Post-release tasks:
234-
```bash
235-
npm version --no-git-tag-version prerelease --preid dev
236-
npm version -w packages/neovim/ --no-git-tag-version prerelease --preid dev
237-
git add packages/*/package.json package*.json && git commit -m bump
238233
git push
239234
```
235+
3. Post-release tasks:
236+
- Add stub to `CHANGELOG.md`.
237+
- Bump and commit.
238+
```bash
239+
npm version --no-git-tag-version prerelease --preid dev
240+
npm version -w packages/neovim/ --no-git-tag-version prerelease --preid dev
241+
git add package*.json packages/neovim/package.json
242+
git commit -m bump
243+
git push
244+
```
240245
241246
### Regenerate documentation website
242247

0 commit comments

Comments
 (0)