From 3899aa4c70e8cfd6f36b7c94ea1476242b7dd29b Mon Sep 17 00:00:00 2001 From: Mahmoud Mazouz Date: Thu, 21 Dec 2023 16:48:01 +0100 Subject: [PATCH] fix(workflows/release): Correct zenoh version regex matcher --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1fb052ea..361bc6ef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,7 +41,7 @@ jobs: echo "GIT_TAG=${GIT_TAG}" echo "GIT_TAG=${GIT_TAG}" >> $GITHUB_OUTPUT - ZENOH_VERSION=$(sed -n 's/^[ \t]*VERSION \([0-9][0-9]*\.[0-9][0-9]*\.[0.9][0-9]*\.[0-9][0-9]*\).*/\1/p' CMakeLists.txt | head -n1) + ZENOH_VERSION=$(sed -n 's/^[ \t]*VERSION \([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/p' CMakeLists.txt | head -n1) echo "ZENOH_VERSION=${ZENOH_VERSION}" echo "ZENOH_VERSION=${ZENOH_VERSION}" >> $GITHUB_OUTPUT if [ -n "${GIT_TAG}" ]; then