This document describes the process used to release a new version of pdf-lib. It serves as a useful reference for maintainers when they release a new version. Users and contributors may also find it useful to understand the process.
- Run
git checkout master && git pull - Update version number in
package.json - Run
rm -rf node_modules && yarn install - Run
yarn release:prep - Run integration tests:
- Run
yarn apps:node 'Preview' - Run
yarn apps:node 'Adobe Acrobat' - Run
yarn apps:deno 'Foxit Reader' - Run
yarn apps:web:macand test in Firefox - Run
yarn apps:web:macand test in Chrome - Run
yarn apps:web:macand test in Safari - Run
yarn apps:rn:ios - Run
yarn apps:rn:android
- Run
- Run
git commit -am 'Bump version to X.Y.Z' - Run
yarn release:nextoryarn release:latest - If you used
release:latest:- Edit the release notes
- Attach the release's
.tgz