Skip to content

Release Process

Tim van der Meij edited this page Sep 24, 2023 · 32 revisions
  1. Make sure there are no release blockers before continuing.
  2. Checkout the most recent code: git fetch upstream && git checkout upstream/master
  3. Generate the ZIP files: 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 files from the step above.
    4. Write the release notes, using the "Generate release notes" button for the commits.
    5. Verify that the latest tag is updated on NPM and that pdfjs-dist got a new commit. This may take some time.
  5. Update pdfjs.config:
    1. Bump the major/minor version number of the versionPrefix.
    2. Bump the stable version number.
    3. Set baseVersion to the commit ID of the merge commit.
Clone this wiki locally