From: <zw...@ma...> - 2009-10-01 01:20:11
|
Author: zwelch Date: 2009-10-01 01:20:06 +0200 (Thu, 01 Oct 2009) New Revision: 2783 Modified: trunk/doc/manual/release.txt trunk/tools/release.sh Log: Document and automate signature creation for the release archives. Modified: trunk/doc/manual/release.txt =================================================================== --- trunk/doc/manual/release.txt 2009-09-30 23:19:53 UTC (rev 2782) +++ trunk/doc/manual/release.txt 2009-09-30 23:20:06 UTC (rev 2783) @@ -224,10 +224,11 @@ -# Produce the package source archives: -# Start with a clean working copy, used for producing releases only. -# Switch to release tag branch: svn switch .../${RELEASE_TAG} - -# produce a ChangeLog for the release (using svn2cl). + -# Produce a ChangeLog for the release (using svn2cl). -# @c bootstrap, @c configure, and @c make the package. -# Run <code>make distcheck</code> to produce the distribution archives. -# Run <code>make maintainer-clean</code> verify the repository is empty. + -# Create signature files using md5sum, sha1sum, etc. -# Publish documentation for the release: - Allow users to access the documentation for each of our releases. - Place static copies of the following files on the project website: Modified: trunk/tools/release.sh =================================================================== --- trunk/tools/release.sh 2009-09-30 23:19:53 UTC (rev 2782) +++ trunk/tools/release.sh 2009-09-30 23:20:06 UTC (rev 2783) @@ -262,7 +262,14 @@ echo "Staging package archives:" mkdir -p archives for EXT in tar.gz tar.bz2 zip; do - mv -v "${PACKAGE_RELEASE}.${EXT}" archives/ + local FILE="${PACKAGE_RELEASE}.${EXT}" + # create archive signatures + for HASH in md5 sha1; do + echo "sign: ${FILE}.${HASH}" + ${HASH}sum "${FILE}" > "archives/${FILE}.${HASH}" + done + # save archive + mv -v "${FILE}" archives/ done cp -a NEWS archives/ cp -a ChangeLog archives/ |