diff --git a/scripts/create-release.nix b/scripts/create-release.nix index 10ad4d6..4dc4afe 100644 --- a/scripts/create-release.nix +++ b/scripts/create-release.nix @@ -43,9 +43,9 @@ writeShellApplication { fi # Ensure there are no uncommitted or unpushed changes - uncommited_changes=$(git diff --compact-summary) - if [[ -n "$uncommited_changes" ]]; then - echo -e "There are uncommited changes, exiting:\n''${uncommited_changes}" >&2 + uncommitted_changes=$(git diff --compact-summary) + if [[ -n "$uncommitted_changes" ]]; then + echo -e "There are uncommitted changes, exiting:\n''${uncommitted_changes}" >&2 exit 1 fi git pull https://github.com/nix-community/disko master