From 16f823cf9290655359e7857e8e21ec26e6e5067b Mon Sep 17 00:00:00 2001 From: Andrew Hamilton Date: Mon, 3 Jan 2022 16:14:12 +1000 Subject: [PATCH] Make update-version usable on any git repo. --- packaging/update-version | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packaging/update-version b/packaging/update-version index 6430265..0be8497 100755 --- a/packaging/update-version +++ b/packaging/update-version @@ -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