diff --git a/ci/release.sh b/ci/release.sh index 630c694..6bdd8cc 100755 --- a/ci/release.sh +++ b/ci/release.sh @@ -88,7 +88,8 @@ function install_cmake { function build_setup { echo "build_setup..." - pip3 install --user --disable-pip-version-check conan==1.64.1 chardet + conan_version=$(grep 'conan==' "$project_dir/.circleci/config.yml" | cut -d '=' -f 3) + pip3 install --user --disable-pip-version-check conan==$conan_version chardet conan_path="$(python3 -m site --user-base)/bin" export "PATH=$conan_path:$PATH" conan --version