Skip to content

Commit d8d92d9

Browse files
authored
Fix version computation for libmongoc development versions (#1599)
1 parent 01a39e7 commit d8d92d9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.evergreen/compile-unix.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,11 @@ if [ -n "$LIBMONGOC_VERSION" ]; then
7272
echo "Finding Python3 binary... done."
7373

7474
php scripts/update-submodule-sources.php
75+
7576
# We invoke python manually as it may not be in the path
76-
$PYTHON src/libmongoc/build/calc_release_version.py > src/LIBMONGOC_VERSION_CURRENT
77+
pushd src/libmongoc/
78+
$PYTHON build/calc_release_version.py > ../LIBMONGOC_VERSION_CURRENT
79+
popd
7780
fi
7881

7982
phpize

0 commit comments

Comments
 (0)