From 01605c770c7b1ef1cfa7a9e31b7dc391878fc439 Mon Sep 17 00:00:00 2001 From: Tobias Peters Date: Mon, 17 Jun 2024 10:35:19 +0200 Subject: [PATCH] fix type in pipeline strings --- .github/workflows/cmake-multi-platform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 0fbff26f67..47dd3ea898 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -32,7 +32,7 @@ jobs: COMMIT_HASH=${{ github.sha }} VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,') [[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//') - [ "$VERSION" == "$DEFAULT_BRANCH}}" ] && VERSION=latest + [ "$VERSION" == "$DEFAULT_BRANCH" ] && VERSION=latest IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]') echo VERSION=$VERSION