File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -221,22 +221,27 @@ Only maintainers of the [neovim NPM package](https://www.npmjs.com/package/neovi
221
221
2. Update version. Build and publish the package. Tag the release and push.
222
222
` ` ` bash
223
223
# Choose major/ minor/ patch as needed.
224
- npm version patch
224
+ npm version -- no - git - tag - version patch
225
225
npm version - w packages/ neovim/ patch
226
+ git add package * .json packages/ neovim/ package .json
226
227
git commit - m ' release'
227
228
# Note: this copies the top- level README .md / CHANGELOG .md to packages/ neovim/ .
228
229
npm run publish: neovim
229
230
export _VERSION = $(grep - o ' version": "[^"]\+ ' packages / neovim / package .json | sed ' s/.*"//' )
230
231
git tag " v${_VERSION}"
231
232
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
238
233
git push
239
234
` ` `
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
+ ` ` `
240
245
241
246
### Regenerate documentation website
242
247
You can’t perform that action at this time.
0 commit comments