-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Release Process
Tim van der Meij edited this page Jul 25, 2021
·
32 revisions
- Checkout the latest code:
git fetch upstream && git checkout upstream/master
- Create the ZIP files:
gulp publish
- Create the release on GitHub:
- Navigate to https://github.com/mozilla/pdf.js/releases/new.
- Call the release and tag
v{version}
and insert the version from the name of the ZIP file. - Check the box for this release being a pre-release.
- Attach the ZIP files from the step above and include release notes:
- Clone https://github.com/brendandahl/pdf.js.utils
- Run
python2 release.py {last_pr_number}
, where{last_pr_number}
is the last PR number (without hash) in the release notes of the existing release
- Label the existing release as stable.
- Verify that the
latest
andnext
tags are updated on NPM, and thatpdfjs-dist
got a new commit. This may take some time due to caching; if it's not updated we'll have to trigger it manually.
- Update
pdfjs.config
to bump both the stable and beta version numbers:- Bump the major/minor version number of the
versionPrefix
. - Bump the stable/beta version number.
- Set
baseVersion
to the commit ID of the merge commit.
- Bump the major/minor version number of the