+ - setup: |
+ wget "https://github.com/gohugoio/hugo/releases/download/v${hugo_version}/hugo_extended_${hugo_version}_Linux-64bit.tar.gz"
+ wget "https://github.com/gohugoio/hugo/releases/download/v${hugo_version}/hugo_extended_${hugo_version}_checksums.txt"
+ calculated_sha=$(sha256sum "hugo_extended_${hugo_version}_Linux-64bit.tar.gz")
+ expected_sha=$(grep "hugo_extended_${hugo_version}_Linux-64bit.tar.gz" "hugo_extended_${hugo_version}_checksums.txt")
+ printf "calculated: %s\n expected: %s" "$calculated_sha" "$expected_sha"
+ [ "$calculated_sha" = "$expected_sha" ]
+ tar xzf "hugo_extended_${hugo_version}_Linux-64bit.tar.gz"