diff --git a/scripts/update-vendor-hash.sh b/scripts/update-vendor-hash.sh index 4cd02a7..f36207c 100755 --- a/scripts/update-vendor-hash.sh +++ b/scripts/update-vendor-hash.sh @@ -3,6 +3,7 @@ set -exuo pipefail +go mod tidy failedbuild=$(nix build --impure --expr '(with import {}; pkgs.callPackage ./. { vendorHash = ""; }).sops-install-secrets' 2>&1 || true) echo "$failedbuild" checksum=$(echo "$failedbuild" | awk '/got:.*sha256/ { print $2 }')