From aab4430782d085cc62fc08d24fd741c9b46a3ce2 Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Sun, 25 Jul 2021 13:37:13 +0200 Subject: [PATCH] Updated Release Process (markdown) --- Release-Process.md | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/Release-Process.md b/Release-Process.md index 807d2c5..6c7e44e 100644 --- a/Release-Process.md +++ b/Release-Process.md @@ -1,17 +1,15 @@ -1. `git fetch upstream` -1. `git checkout upstream/master` +1. Checkout the latest code: `git fetch upstream && git checkout upstream/master` 1. Create the ZIP files: `gulp publish` 1. Create the release on GitHub: - 1. Navigate to https://github.com/mozilla/pdf.js/releases/new + 1. Navigate to https://github.com/mozilla/pdf.js/releases/new. 1. Call the release and tag `v{version}` and insert the version from the name of the ZIP file. - 1. Attach the ZIP files from the step above and include release notes + 1. Check the box for this release being a pre-release. + 1. Attach the ZIP files from the step above and include release notes: 1. Clone https://github.com/brendandahl/pdf.js.utils 2. 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 - 1. Check the box for this release being a pre-release! - 1. Label the existing release as stable - 1. Verify that the `latest` and `next` tags are updated on NPM. This may take some time due to caching; if it's not updated we'll have to trigger it manually. + 1. Label the existing release as stable. + 1. Verify that the `latest` and `next` tags are updated on NPM, and that `pdfjs-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. 1. Update `pdfjs.config` to bump both the stable and beta version numbers: - 1. Bump the major/minor version number of the `versionPrefix` - 1. Bump the stable/beta version number - 1. Set `baseVersion` to the commit ID of the merge commit -1. Eat cake, a cookie or any other treat \ No newline at end of file + 1. Bump the major/minor version number of the `versionPrefix`. + 1. Bump the stable/beta version number. + 1. Set `baseVersion` to the commit ID of the merge commit. \ No newline at end of file