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:mac
and test in Firefox - Run
yarn apps:web:mac
and test in Chrome - Run
yarn apps:web:mac
and 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:next
oryarn release:latest
- If you used
release:latest
:- Edit the release notes
- Attach the release's
.tgz