From 089df4a8df5cdd5e691c96b59fef60be1cde7356 Mon Sep 17 00:00:00 2001 From: Andreas Braun Date: Fri, 28 Jun 2024 11:39:07 +0200 Subject: [PATCH] Fix version computation for libmongoc development versions --- .evergreen/compile-unix.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.evergreen/compile-unix.sh b/.evergreen/compile-unix.sh index 0a0a057a9..6d75a70bf 100755 --- a/.evergreen/compile-unix.sh +++ b/.evergreen/compile-unix.sh @@ -72,8 +72,11 @@ if [ -n "$LIBMONGOC_VERSION" ]; then echo "Finding Python3 binary... done." php scripts/update-submodule-sources.php + # We invoke python manually as it may not be in the path - $PYTHON src/libmongoc/build/calc_release_version.py > src/LIBMONGOC_VERSION_CURRENT + pushd src/libmongoc/ + $PYTHON build/calc_release_version.py > ../LIBMONGOC_VERSION_CURRENT + popd fi phpize