diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 99b539b76e47..d134c65c0251 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -40,10 +40,7 @@ jobs: wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O yq && chmod +x yq QGIS_CURRENT_LTR=$(yq .current_ltr pyqgis_conf.yml) QGIS_CURRENT_STABLE=$(yq .current_stable pyqgis_conf.yml) - QGIS_VERSION=${{ matrix.qgis_version }} - if [[ "${QGIS_VERSION}" != 'master' ]]; then - QGIS_VERSION=$(yq --exit-status .current_${{ matrix.qgis_version }} pyqgis_conf.yml) - fi + QGIS_VERSION=$(yq --exit-status .current_${{ matrix.qgis_version }} pyqgis_conf.yml) vars=("QGIS_VERSION" "QGIS_CURRENT_STABLE" "QGIS_CURRENT_LTR") for var in "${vars[@]}"; do