Skip to content

Commit

Permalink
Fixing the release script.
Browse files Browse the repository at this point in the history
  • Loading branch information
mithro committed Aug 3, 2016
1 parent 32ddf71 commit a454869
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion left-angle/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
set -x
set -e

if [ $(git diff --shortstat 2> /dev/null | tail -n1) != "" ]; then
if git diff-index --quiet HEAD --; then
echo "Clean repo, good!"
else
echo "Dirty repo, commit before running."
exit 1
fi
Expand Down

0 comments on commit a454869

Please sign in to comment.