Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 520 Bytes

RELEASING.md

File metadata and controls

27 lines (16 loc) · 520 Bytes

Releasing

First of all, have you updated the type declarations?

Set variables:

$ export VERSION=X.Y.Z
$ export GPG_KEY=E7ADD9914E260E8B35DFB50665FDE935573ACDA6

Update version numbers:

$ vim -p package.json CHANGELOG.md
$ npm install

Build dist files:

$ npm run dist

Commit & tag:

$ git commit -S${GPG_KEY} -m "Release v${VERSION}"
$ git tag -s -u ${GPG_KEY} v${VERSION} -m "Version ${VERSION}"

Push & publish:

$ git push && git push --tags
$ npm publish --access public