diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-09-30 23:20:06 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-09-30 23:20:06 +0000 |
commit | 7b9f01e0ae1e4e36dd61a3e547a68b9271206caa (patch) | |
tree | fc00a6bebac0193fcb16169c43b3dba78268f7fa | |
parent | 8624535b8036a245952fabd27108ea681a694f04 (diff) | |
download | riscv-openocd-7b9f01e0ae1e4e36dd61a3e547a68b9271206caa.zip riscv-openocd-7b9f01e0ae1e4e36dd61a3e547a68b9271206caa.tar.gz riscv-openocd-7b9f01e0ae1e4e36dd61a3e547a68b9271206caa.tar.bz2 |
Document and automate signature creation for the release archives.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2783 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | doc/manual/release.txt | 3 | ||||
-rwxr-xr-x | tools/release.sh | 9 |
2 files changed, 10 insertions, 2 deletions
diff --git a/doc/manual/release.txt b/doc/manual/release.txt index 273f228..892b50c 100644 --- a/doc/manual/release.txt +++ b/doc/manual/release.txt @@ -224,10 +224,11 @@ svn cp .../branches/${RELEASE_BRANCH} .../tags/${RELEASE_TAG} -# 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: diff --git a/tools/release.sh b/tools/release.sh index 5511f10..c1f7f7c 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -262,7 +262,14 @@ do_stage() { 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/ |