Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at

NSPR release procedure

Release checklist

  1. Change the NSPR version in mozilla/nsprpub/pr/include/prinit.h.
  2. Change the NSPR version in mozilla/nsprpub/{,configure}.
  3. Change the NSPR version in mozilla/nsprpub/pr/tests/vercheck.c.
  4. Change the NSPR version in mozilla/nsprpub/admin/

Source tarball

Binary distributions

Right now I use the mozilla/nsprpub/admin/ script to generate the binary distributions published on As the name of the shell script implies, merely repackages binary distributions in a different format.

Before you run, you need to have built the binary distributions using the "gmake release" makefile target. These binary distributions are jar files, which are really zip files, and they are published in the directory /share/builds/components. This design comes from the Netscape days.

The script repackages the jar files into the form most commonly used on that platform. So on Unix it repackages the jar files into gzipped tar files, and on Windows it repackages the jar files into zip files.

Edit the script to customize it for your environment.

After you have run, follow the instructions in to upload the files to's staging server, so that they eventually show up on The host can be accessed via the ftp, http, and https protocols. We recommend using

Note: For NSS, the script equivalent to NSPR's is /u/robobld/bin/sbsinit/nss/push/ in the "SVBuild" source tree.

Document Tags and Contributors

 Contributors to this page: teoli, Wtchang
 Last updated by: Wtchang,