- 
                Notifications
    
You must be signed in to change notification settings  - Fork 10.5k
 
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.
Update the pdfjs.config file:
- Bump the major/minor version number of the 
versionPrefix. - Set 
baseVersionto the commit ID of the merged commit. 
git fetch upstreamgit checkout upstream/master- Create the ZIP file: 
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. - Attach the ZIP file 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
 - Label the new release as pre-release
 
 - Update 
pdfjs.configto bump both the stable and beta version numbers - Eat cake, a cookie or any other treat