You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2021/11/02 08:58:04 UTC
svn commit: r1894668 - in /httpd/dev-tools/release: common-lib.sh
r3-push-release-tars.sh
Author: icing
Date: Tue Nov 2 08:58:04 2021
New Revision: 1894668
URL: http://svn.apache.org/viewvc?rev=1894668&view=rev
Log:
* fixing the filenames inside sha* checksum files on release (PR 65665)
* no longer generating md5 and sha1 checksums
Modified:
httpd/dev-tools/release/common-lib.sh
httpd/dev-tools/release/r3-push-release-tars.sh
Modified: httpd/dev-tools/release/common-lib.sh
URL: http://svn.apache.org/viewvc/httpd/dev-tools/release/common-lib.sh?rev=1894668&r1=1894667&r2=1894668&view=diff
==============================================================================
--- httpd/dev-tools/release/common-lib.sh (original)
+++ httpd/dev-tools/release/common-lib.sh Tue Nov 2 08:58:04 2021
@@ -247,8 +247,6 @@ create_dist_checksums() {
pushd `dirname "$path"` >/dev/null
file=`basename "$path"`
echo " - create checksums for ${file}"
- openssl md5 ${file} | sed -e 's#^MD5(\(.*\))= \([0-9a-f]*\)$#\2 *\1#' > ${file}.md5
- openssl sha1 ${file} | sed -e 's#^SHA1(\(.*\))= \([0-9a-f]*\)$#\2 *\1#' > ${file}.sha1
openssl sha256 ${file} | sed -e 's#^SHA256(\(.*\))= \([0-9a-f]*\)$#\2 *\1#' > ${file}.sha256
openssl sha512 ${file} | sed -e 's#^SHA512(\(.*\))= \([0-9a-f]*\)$#\2 *\1#' > ${file}.sha512
popd > /dev/null
Modified: httpd/dev-tools/release/r3-push-release-tars.sh
URL: http://svn.apache.org/viewvc/httpd/dev-tools/release/r3-push-release-tars.sh?rev=1894668&r1=1894667&r2=1894668&view=diff
==============================================================================
--- httpd/dev-tools/release/r3-push-release-tars.sh (original)
+++ httpd/dev-tools/release/r3-push-release-tars.sh Tue Nov 2 08:58:04 2021
@@ -88,7 +88,7 @@ if test "${VERSION}" != "${FULL_VERSION}
done
# fix the filenames in the hash files (PR65665)
echo "fixing ${FULL_VERSION} filename to ${VERSION} in hash files"
- for file in "${AO_DIST_RELEASE_PATH}/${PROJECT}-${FULL_VERSION}".tar.*.sha* do
+ for file in "${AO_DIST_RELEASE_PATH}/${PROJECT}-${VERSION}".tar.*.sha* do
perl -pe "s/${FULL_VERSION}/${VERSION}/" -i $file
done
fi