Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: install script
  • Loading branch information
caarlos0 committed Oct 12, 2022
1 parent 2f875c7 commit cd6ca55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions www/docs/static/run
Expand Up @@ -31,11 +31,13 @@ export TAR_FILE="$TMPDIR/${FILE_BASENAME}_$(uname -s)_$(uname -m).tar.gz"
"$RELEASES_URL/download/$VERSION/${FILE_BASENAME}_$(uname -s)_$(uname -m).tar.gz"
curl -sfLo "checksums.txt" "$RELEASES_URL/download/$VERSION/checksums.txt"
curl -sfLo "checksums.txt.sig" "$RELEASES_URL/download/$VERSION/checksums.txt.sig"
curl -sfLo "checksums.txt.pem" "$RELEASES_URL/download/$VERSION/checksums.txt.pem"
echo "Verifying checksums..."
sha256sum --ignore-missing --quiet --check checksums.txt
if command -v cosign >/dev/null 2>&1; then
echo "Verifying signatures..."
COSIGN_EXPERIMENTAL=1 cosign verify-blob \
--cert checksums.txt.pem \
--signature checksums.txt.sig \
checksums.txt
else
Expand Down

0 comments on commit cd6ca55

Please sign in to comment.