27 Release Process
Tim van der Meij редактировал(а) эту страницу 2024-07-01 18:28:19 +02:00
  1. Make sure there are no release blockers before continuing.
  2. Checkout the most recent code: git fetch upstream && git checkout upstream/master && npm install
  3. Generate the ZIP files: npx gulp publish
  4. Create the release on GitHub:
    1. Go to https://github.com/mozilla/pdf.js/releases/new.
    2. Name the release and tag v{version}, with 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.
    5. Wait until that the latest tag is updated on NPM by the GitHub Actions workflow.
  5. Update pdfjs.config:
    1. Bump the stable version number.
    2. Bump the major/minor version number of the versionPrefix and set the baseVersion to the commit ID of the merge commit (only if necessary).