tauri/.scripts/ci/has-diff.sh

10 lines
136 B
Bash
Raw Normal View History

#!/bin/bash
if git diff --quiet --ignore-submodules HEAD
then
echo "working directory is clean"
else
echo "found diff"
exit 1
fi