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 }}