From 3d965435388275e7fa91dd44579f8b9fd83fa38e Mon Sep 17 00:00:00 2001 From: Kuan Fan Date: Thu, 25 Jul 2024 16:37:02 -0700 Subject: [PATCH] get version --- .github/workflows/devops-test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/devops-test.yaml b/.github/workflows/devops-test.yaml index 8e802d64c..85fa6f6c9 100644 --- a/.github/workflows/devops-test.yaml +++ b/.github/workflows/devops-test.yaml @@ -17,7 +17,7 @@ jobs: steps: - id: get-version run: | - default-release=${{ github.event.repository.default_branch }} + default-release="${{ github.event.repository.default_branch }}" version=$(echo "$default-release" | sed -E 's/release-(.*)/\1/') echo "VERSION=$version" >> $GITHUB_OUTPUT