Skip to content

Commit

Permalink
Attempt to get tag
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
  • Loading branch information
rak-phillip committed Feb 14, 2022
1 parent cc9a3c8 commit 6771dd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-rancher-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ env:
OUTPUT_DIR: dist
RELEASE_DIR: release
ARTIFACT_NAME: rancher-dashboard-desktop-embed
VERSION: ${GITHUB_REF/refs\/tags\//}

jobs:
build:
Expand Down Expand Up @@ -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 }}

0 comments on commit 6771dd9

Please sign in to comment.