From 6771dd9334b2fbd74f29b02bfba2f506d03c0c74 Mon Sep 17 00:00:00 2001 From: Phillip Rak Date: Mon, 14 Feb 2022 13:35:08 -0700 Subject: [PATCH] Attempt to get tag Signed-off-by: Phillip Rak --- .github/workflows/release-rancher-desktop.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-rancher-desktop.yml b/.github/workflows/release-rancher-desktop.yml index 47e9e8d7f40..48bdc7df2c2 100644 --- a/.github/workflows/release-rancher-desktop.yml +++ b/.github/workflows/release-rancher-desktop.yml @@ -9,7 +9,6 @@ env: OUTPUT_DIR: dist RELEASE_DIR: release ARTIFACT_NAME: rancher-dashboard-desktop-embed - VERSION: ${GITHUB_REF/refs\/tags\//} jobs: build: @@ -56,4 +55,5 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - hub release edit -a build/${{ env.ARTIFACT_NAME }}.tar.gz -a build/${{ env.ARTIFACT_NAME }}.tar.gz.sha512sum ${{ env.VERSION }} + echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/} + hub release edit -a build/${{ env.ARTIFACT_NAME }}.tar.gz -a build/${{ env.ARTIFACT_NAME }}.tar.gz.sha512sum ${{ steps.vars.outputs.VERSION }}