Closed mmcloughlin closed 4 years ago
#!/bin/bash -ex
# Prepare Workspace ---------------------------------------------------------
workdir=$(mktemp -d)
# Build Twice ---------------------------------------------------------------
./script/dist.sh ${workdir}/a.tar.gz
./script/dist.sh ${workdir}/b.tar.gz
# Show Hashes ---------------------------------------------------------------
sha256sum ${workdir}/*.tar.gz
# Cleanup Workspace ---------------------------------------------------------
rm -rf ${workdir}
With the current terraform-based deployment, it's annoying that the hash of the archive keeps on changing.