From 801af642644d69996010c619e56da96f34f8f09f Mon Sep 17 00:00:00 2001 From: Rob Court Date: Fri, 15 Oct 2021 07:20:18 +0100 Subject: [PATCH] fix for releases --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 33da97746..d97a77926 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,8 +26,8 @@ jobs: # Decide based on branch which servers to use - name: Pass branch id: branch - run: echo "::set-output name=value::${GITHUB_REF#refs/heads/}"; - echo "::set-output name=clean::$(echo ${GITHUB_REF#refs/heads/} | sed 's@[/\\]@-@g')"; + run: echo "::set-output name=value::$(echo ${GITHUB_REF} | sed 's@refs/heads/@@g' | sed 's@refs/tags/@@g' )"; + echo "::set-output name=clean::$(echo ${GITHUB_REF} | sed 's@refs/heads/@@g' | sed 's@refs/tags/@@g' | sed 's@[/\\]@-@g')"; - name: Setup local servers id: local-servers shell: bash