Make update-version usable on any git repo.
This commit is contained in:
parent
792339a30f
commit
16f823cf92
1 changed files with 1 additions and 2 deletions
|
|
@ -5,8 +5,7 @@ set -e
|
||||||
|
|
||||||
|
|
||||||
# Only run at the codebase root.
|
# Only run at the codebase root.
|
||||||
[ $(basename $PWD) == "eris" ]
|
[ -e .git ]
|
||||||
[ -e README.md ]
|
|
||||||
# Don't run with uncommited or staged changes.
|
# Don't run with uncommited or staged changes.
|
||||||
git diff --exit-code
|
git diff --exit-code
|
||||||
git diff --cached --exit-code
|
git diff --cached --exit-code
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue