scripts/update-vendor-hash.sh: run go mod tidy

This commit is contained in:
Jörg Thalheim 2025-03-13 09:44:23 +01:00
parent e653d71e82
commit 51249743a7

View file

@ -3,6 +3,7 @@
set -exuo pipefail
go mod tidy
failedbuild=$(nix build --impure --expr '(with import <nixpkgs> {}; pkgs.callPackage ./. { vendorHash = ""; }).sops-install-secrets' 2>&1 || true)
echo "$failedbuild"
checksum=$(echo "$failedbuild" | awk '/got:.*sha256/ { print $2 }')