Skip to content

Commit

Permalink
Fix the test for changes in the repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
abizjak committed Jan 6, 2023
1 parent 62ac012 commit dd4f96c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/distribution/macOS-package/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ readonly version=${1:?"Please provide a version number (e.g. '1.0.2')"}
year="$(date +"%Y")" # Used for copyright notices.
readonly year

if [[ ! "$(git diff --quiet --exit-code)" ]]; then
if ! git diff --quiet --exit-code; then
echo "Uncommitted changes in the repository.";
git --no-pager diff
exit 1
Expand Down

0 comments on commit dd4f96c

Please sign in to comment.