ffbuild/version.sh: rename VERSION file to FF_VERSION

This avoids conflicts with the C++ version header.

Fix #22574
This commit is contained in:
Marvin Scholz authored and michaelni committed 2026-09-04 19:21:19 +00:00
1 parent 94083a44c9
commit 72e5fc4b80
1 file changed
+2 -2
+2 -2
View File
@@ -34,8 +34,8 @@ test "$revision" || revision=$(cd "$1" && cat RELEASE 2> /dev/null)
# Append the Git hash if we have one
test "$revision" && test "$git_hash" && revision="$revision-$git_hash"
# releases extract the version number from the VERSION file
version=$(cd "$1" && cat VERSION 2> /dev/null)
# releases extract the version number from the FF_VERSION file
version=$(cd "$1" && cat FF_VERSION 2> /dev/null)
test "$version" || version=$revision
test -n "$3" && version=$version-$3