From 43dc05c9af6f8b643982bd076b1debe9985d0282 Mon Sep 17 00:00:00 2001 From: Sterling Hanenkamp Date: Wed, 17 Jan 2024 14:16:40 -0600 Subject: [PATCH] cicd: fix RELEASE_VERSION --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1ec26a4..e178b69 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,7 +12,7 @@ jobs: with: go-version: 1.21 - name: Release Version - run: echo RELEASE_VERSION=$(grep -Eo '[0-9]+\.[0-9]+\.[0-9]+.*$') >> $GITHUB_ENV + run: echo RELEASE_VERSION=$(echo $GITHUB_REF_NAME | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+.*$') >> $GITHUB_ENV - name: Changes Heading Up-To-Date Check run: | date=$(date "+%Y-%m-%d")