Skip to content
Snippets Groups Projects
Commit 779cfa64 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

If nothing has changed, don't proceed.

parent ec650550
No related branches found
No related tags found
3 merge requests!319update production,!311bump nixpkgs version,!305Automate updating nixpkgs pin in develop branch once a week
......@@ -42,7 +42,10 @@ git checkout "${TARGET_BRANCH}" || git checkout -b "${TARGET_BRANCH}"
nix-shell ./shell.nix --run update-nixpkgs
# Show us what we did
git diff
if ! git diff --exit-code; then
echo "No changes."
exit 0
fi
# nix-build -A morph -o result-after
# diff=$(nix --extra-experimental-features nix-command store diff-closures ./result-before/ ./result-after/)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment