From 2b2f0f1ee035afac0ff80a904730fb72661d53fe Mon Sep 17 00:00:00 2001 From: XargonWan Date: Fri, 29 Sep 2023 10:04:58 +0200 Subject: [PATCH] Testing feat pipeline --- .github/workflows/cooker-selfhosted.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/cooker-selfhosted.yml b/.github/workflows/cooker-selfhosted.yml index 97db3fdb..55e92b00 100644 --- a/.github/workflows/cooker-selfhosted.yml +++ b/.github/workflows/cooker-selfhosted.yml @@ -113,17 +113,15 @@ jobs: else echo "TAG_NAME=${BRANCH_NAME}" >> $GITHUB_ENV fi - shell: /usr/bin/bash -e {0} # if it's a feature branch it will not marked as "latest" cooker version - name: "Set makeLatest (cooker only)" run: | - if $ { { contains(env.TAG_NAME, 'feature:') }}; then + if [[ "$TAG_NAME" == 'feature:'* ]]; then echo "MAKE_LATEST=false" >> $GITHUB_ENV else echo "MAKE_LATEST=true" >> $GITHUB_ENV fi - shell: /usr/bin/bash -e {0} - name: Publish the flatpak in a new cooker release uses: ncipollo/release-action@v1