This commit is contained in:
Anthony Baxter 2004-05-13 07:20:16 +00:00
parent 0c7783ed1a
commit d87129bbf9
1 changed files with 18 additions and 6 deletions

View File

@ -93,10 +93,10 @@ How to Make A Release
___ For the Windows build, additional files have to be updated.
PCBuild/BUILDno.txt contains the Windows build number, see the
PCbuild/BUILDno.txt contains the Windows build number, see the
instructions in this file how to change it. Saving the project
file PCBuild/pythoncore.dsp results in a change to
PCBuild/pythoncore.dsp as well.
file PCbuild/pythoncore.dsp results in a change to
PCbuild/pythoncore.dsp as well.
PCbuild/python20.wse sets up the Windows installer version
resource (displayed when you right-click on the installer .exe
@ -212,15 +212,25 @@ How to Make A Release
___ Generate the tarball. Note that we're not using the `z' option
on the tar command because 1) that's only supported by GNU tar
as far as we know, and 2) we're going to max out the compression
level, which isn't a supported option.
% tar -cf - Python-2.1.2 | gzip -9 > Python-2.1.2.tgz
level, which isn't a supported option. We generate both tar.gz
tar.bz2 formats, as the latter is about 1/6th smaller.
___ Calculate the MD5 checksum of the tgz file you just created
% tar -cf - Python-2.1.2 | gzip -9 > Python-2.1.2.tgz
% tar -cf - Python-2.1.2 | bzip2 -9 > Python-2.1.2.tar.bz2
___ Calculate the MD5 checksum of the tgz and tar.bz2 files you
just created
% md5sum Python-2.1.2.tgz
Note that if you don't have the md5sum program, there is a
Python replacement in the Tools/scripts/md5sum.py file.
___ Create GPG keys for each of the files.
% gpg -ba Python-2.1.2.tgz
% gpg -ba Python-2.1.2.tar.bz2
% gpg -ba Python-2.1.2.exe
___ Now you want to perform the very important step of checking the
tarball you just created, to make sure a completely clean,
virgin build passes the regression test. Here are the best
@ -267,6 +277,8 @@ How to Make A Release
python.org; this contains the "full scoop" of changes to
Python since the previous release for this version of Python.
___ Copy the .asc GPG signatures you created earlier here as well.
___ Also, update the MD5 checksums.
___ Preview the web page by doing a "make" or "make install" (as