From de5da37a22ba8a47db43124fcb8a067f61b5549e Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 2 Nov 2020 20:38:52 -0800 Subject: [PATCH] VERSION: rename to version.txt to work around macOS limitations. Signed-off-by: David Anderson --- VERSION => VERSION.txt | 0 version/version.sh | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename VERSION => VERSION.txt (100%) diff --git a/VERSION b/VERSION.txt similarity index 100% rename from VERSION rename to VERSION.txt diff --git a/version/version.sh b/version/version.sh index fe85339fe..69582bb2f 100755 --- a/version/version.sh +++ b/version/version.sh @@ -22,7 +22,7 @@ case $# in # Load the base version and optional corresponding git hash # from the VERSION file. If there is no git hash in the file, # we use the hash of the last change to the VERSION file. - version_file="$(dirname $0)/../VERSION" + version_file="$(dirname $0)/../VERSION.txt" IFS=".$IFS" read -r major minor patch base_git_hash <"$version_file" if [ -z "$base_git_hash" ]; then base_git_hash=$(git rev-list --max-count=1 HEAD -- $version_file)