Skip to content

Release Process

Tim van der Meij edited this page Oct 27, 2018 · 32 revisions

The objective is to release a version every six weeks. Ideally this should be one week before Firefox uplift dates; see https://wiki.mozilla.org/RapidRelease/Calendar.

After an api-(minor|major) pull request is merged:

Update the pdfjs.config file:

  1. Bump the major/minor version number of the versionPrefix.
  2. Set baseVersion to the commit ID of the merged commit.

Releasing a new version

  1. git fetch upstream
  2. git checkout upstream/master
  3. Create the ZIP file: gulp publish
  4. Create the release on GitHub:
    1. Navigate to https://github.com/mozilla/pdf.js/releases/new
    2. Call the release and tag v{version} and insert the version from the name of the ZIP file.
    3. Attach the ZIP file from the step above and include release notes
    4. Label the existing release as stable
    5. Label the new release as pre-release
  5. Update pdfjs.config to bump both the stable and beta version numbers
  6. Eat cake, a cookie or any other treat
Clone this wiki locally