Skip to content

Commit

Permalink
drop git commit from update-vendor-hash.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Jul 15, 2023
1 parent f77dd7d commit a69e3ca
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions scripts/update-vendor-hash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a69e3ca

Please sign in to comment.