1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2024-12-14 11:57:52 +00:00

drop git commit from update-vendor-hash.sh

This commit is contained in:
Jörg Thalheim 2023-07-15 09:02:27 +02:00
parent f77dd7df8f
commit a69e3ca7dc

View file

@ -7,11 +7,3 @@ failedbuild=$(nix build --impure --expr '(with import <nixpkgs> {}; pkgs.callPac
echo "$failedbuild"
checksum=$(echo "$failedbuild" | awk '/got:.*sha256/ { print $2 }')
sed -i -e "s|vendorHash ? \".*\"|vendorHash ? \"$checksum\"|" default.nix
# git push if we have a diff
if [[ -n $(git diff) ]]; then
git add default.nix
git commit -m "sops-install-secrets: update checksum to $checksum"
git push
fi