Skip to content

Commit

Permalink
fixing release tag name during upload
Browse files Browse the repository at this point in the history
  • Loading branch information
jsmith committed Mar 4, 2020
1 parent 86424b2 commit 1e55d3c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,16 @@ jobs:
env:
CI: true
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Removing "refs/tags/v"
# duplicate from above but we need the version in both jobs
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}

- name: Upload Release Asset
uses: AButler/[email protected]
with:
release-tag: ${{ github.ref }}
release-tag: v${{ steps.get_version.outputs.VERSION }}
files: 'dist_electron/*'
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1e55d3c

Please sign in to comment.