Make update-version usable on any git repo.

This commit is contained in:
Andrew Hamilton 2022-01-03 16:14:12 +10:00
parent 792339a30f
commit 16f823cf92

View file

@ -5,8 +5,7 @@ set -e
# Only run at the codebase root.
[ $(basename $PWD) == "eris" ]
[ -e README.md ]
[ -e .git ]
# Don't run with uncommited or staged changes.
git diff --exit-code
git diff --cached --exit-code