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:
parent
f77dd7df8f
commit
a69e3ca7dc
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue