#!/usr/bin/env bash
set -e

checksum="`basename pivotal-buildpacks-cached/*_buildpack-cached-v*.zip`.checksum"
echo md5: "`md5sum *_buildpack-cached-v*.zip`" > pivotal-buildpacks-cached/$checksum
echo sha256: "`sha256sum *_buildpack-cached-v*.zip`" >> pivotal-buildpacks-cached/$checksum
cat pivotal-buildpacks-cached/$checksum >> buildpack/RECENT_CHANGES

#!/usr/bin/env bash
set -e

pushd pivotal-buildpacks-cached
filename="`basename *_buildpack-cached-v*.zip`"
checksum="${filename}.CHECKSUM.txt"
echo $checksum
echo "md5: `md5sum $filename`" > $checksum
echo "sha256: `sha256sum $filename`" >> $checksum
cat $checksum >> ../buildpack/RECENT_CHANGES
popd

Clean up the script for adding checksum
Clean up the script for adding checksum

Signed-off-by: David Jahn <ea2208fe99a56ed20c9ae20b0a1446b61f13a269@gmail.com>
