diff --git a/bin/install_slsa_provenance.sh b/bin/install_slsa_provenance.sh index bc73e74..2dbe0a2 100755 --- a/bin/install_slsa_provenance.sh +++ b/bin/install_slsa_provenance.sh @@ -1,6 +1,6 @@ #!/bin/bash -SLSA_PROVENANCE_VERSION=0.7.0 +SLSA_PROVENANCE_VERSION=0.7.2 INSTALL_DIR=$HOME/.slsa_provenance function install_slsa_provenance { @@ -17,7 +17,7 @@ function install_slsa_provenance { curl -sSLO https://github.com/philips-labs/slsa-provenance-action/releases/download/v${SLSA_PROVENANCE_VERSION}/slsa-provenance_${SLSA_PROVENANCE_VERSION}_${machine}_amd64.tar.gz curl -sSLO https://github.com/philips-labs/slsa-provenance-action/releases/download/v${SLSA_PROVENANCE_VERSION}/checksums.txt - < checksums.txt grep slsa-provenance_${SLSA_PROVENANCE_VERSION}_${machine}_amd64.tar.gz | $shasum -c - + < checksums.txt grep -E "slsa-provenance_${SLSA_PROVENANCE_VERSION}_${machine}_amd64.tar.gz$" | $shasum -c - # shellcheck disable=SC2181 if [ $? != 0 ] ; then