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
2212212. 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
You can’t perform that action at this time.
0 commit comments