From b8ff2717f3b00292a1333c9f499f346b0973eee2 Mon Sep 17 00:00:00 2001 From: Dimitris Papagiannis Date: Mon, 22 Jan 2024 11:46:00 +0100 Subject: [PATCH] Fix sed --- .github/workflows/build_installation_package.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_installation_package.yaml b/.github/workflows/build_installation_package.yaml index 976b37a..42bdfa8 100644 --- a/.github/workflows/build_installation_package.yaml +++ b/.github/workflows/build_installation_package.yaml @@ -29,7 +29,7 @@ jobs: export RELEASE_TAG=python_${DQMGUI_PYTHON_VERSION}_deployment_${DMWM_GIT_TAG}_dqmgui_${DQMGUI_GIT_TAG}_root_${ROOT_GIT_TAG} sudo apt update && sudo apt install -y libcurl4-gnutls-dev # Replace python version inside the config, it will matter during installation - sed -Ei "s/PYTHON\_VERSION=[0-9]\.[0-9]{1,2}/PYTHON\_VERSION=$(echo $DQMGUI_PYTHON_VERSION/" config.sh + sed -Ei "s/PYTHON\_VERSION=[0-9]\.[0-9]{1,2}/PYTHON\_VERSION=${DQMGUI_PYTHON_VERSION}/" config.sh bash download_dependencies.sh PYTHON_VERSION=$DQMGUI_PYTHON_VERSION DMWM_GIT_TAG=$DMWM_GIT_TAG DMWM_GIT_URL=$DMWM_GIT_URL DQMGUI_GIT_TAG=$DQMGUI_GIT_TAG ROOT_GIT_URL=$ROOT_GIT_URL ROOT_GIT_TAG=$ROOT_GIT_TAG bash build_installation_package.sh TARGET_DIRECTORY="/tmp/dqmgui" ARCHIVE_NAME="dqmgui_$RELEASE_TAG.tar.gz" echo "Automatically generated release for making the installation package publicly available.