From 347105c3e6ba955fd9a26317f44f1ae92e0bf571 Mon Sep 17 00:00:00 2001 From: im-adithya Date: Thu, 26 Sep 2024 12:24:32 +0530 Subject: [PATCH] chore: update ref name --- .github/workflows/http.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/http.yml b/.github/workflows/http.yml index deeb7d21..2cd19919 100644 --- a/.github/workflows/http.yml +++ b/.github/workflows/http.yml @@ -54,10 +54,10 @@ jobs: - name: Setup shell: bash run: | - SANITIZED_TAG="${ GITHUB_REF_NAME//./- }" + SANITIZED_TAG=$(echo "${GITHUB_REF_NAME}" | sed 's/[./]/-/g') echo $SANITIZED_TAG echo "EXEC_NAME=albyhub" >> $GITHUB_ENV - if [ "${{ runner.os }}" == "macOS" ]; then + if [ "${{ runner.os }}" =S= "macOS" ]; then echo "PACKAGE_NAME=AlbyHub-Server-MacOS-${SANITIZED_TAG}" >> $GITHUB_ENV else echo "PACKAGE_NAME=AlbyHub-Server-Linux-${{ matrix.build.arch }}-${SANITIZED_TAG}" >> $GITHUB_ENV