mirror of https://github.com/pwndbg/pwndbg.git
make doc generation always use a consistent python version (#3429)
parent
e65f384843
commit
833181083e
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source "$(dirname "$0")/common.sh"
|
||||
|
||||
# This script should only be run in our ubuntu-latest CI
|
||||
|
||||
if [ "$($UV_RUN python -V 2>&1)" = "Python $CI_PYTHON" ]; then
|
||||
echo "The CI Python version ($CI_PYTHON) is set correctly."
|
||||
else
|
||||
echo "The CI Python version ($CI_PYTHON) is NOT set correctly"
|
||||
echo "Actual: "
|
||||
$UV_RUN python -V
|
||||
exit 1
|
||||
fi
|
||||
Loading…
Reference in new issue