From 3af1d61e5b3da1f192442a004950c1709a1ed442 Mon Sep 17 00:00:00 2001 From: biroder <107300789+biroder@users.noreply.github.com> Date: Sun, 12 Nov 2023 12:34:38 +0200 Subject: [PATCH] Fix CI --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a43783e..dc849f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -88,10 +88,10 @@ jobs: run: | if [ "${{ github.ref_type }}" == "tag" ]; then export DRS_BUILD_VERSION_OVERRIDE="{{ github.ref_name }}" - elif [ "${{ github.ref_name }} == "master"]; then - export DRS_BUILD_VERSION_OVERRIDE="$VERSION-$((${{ github.run_number }} + 654))" + elif [ "${{ github.ref_name }}" == "master"]; then + export DRS_BUILD_VERSION_OVERRIDE="${{ env.VERSION }}-$((${{ github.run_number }} + 654))" else - export DRS_BUILD_VERSION_OVERRIDE="$VERSION-${GITHUB_SHA:0:7}" + export DRS_BUILD_VERSION_OVERRIDE="${{ env.VERSION }}-${GITHUB_SHA:0:7}" fi mkdir release @@ -161,10 +161,10 @@ jobs: run: | if [ "${{ github.ref_type }}" == "tag" ]; then export DRS_BUILD_VERSION_OVERRIDE="{{ github.ref_name }}" - elif [ "${{ github.ref_name }} == "master"]; then - export DRS_BUILD_VERSION_OVERRIDE="$VERSION-$((${{ github.run_number }} + 654))" + elif [ "${{ github.ref_name }}" == "master"]; then + export DRS_BUILD_VERSION_OVERRIDE="${{ env.VERSION }}-$((${{ github.run_number }} + 654))" else - export DRS_BUILD_VERSION_OVERRIDE="$VERSION-${GITHUB_SHA:0:7}" + export DRS_BUILD_VERSION_OVERRIDE="${{ env.VERSION }}-${GITHUB_SHA:0:7}" fi cd app