Skip to content

Commit

Permalink
fix release name of binary assets
Browse files Browse the repository at this point in the history
  • Loading branch information
sigoden committed Sep 12, 2020
1 parent 32f2697 commit 7b6d3d5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ jobs:
with:
fetch-depth: 1

- name: Set the version
id: version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
Expand All @@ -56,7 +52,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/release/upt
asset_name: upt-${{ steps.version.outputs.VERSION }}-${{ matrix.target }}
asset_name: upt-${{ matrix.target }}
tag: ${{ github.ref }}

- name: Upload binaries to release
Expand All @@ -65,5 +61,5 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/release/upt.exe
asset_name: upt-${{ steps.version.outputs.VERSION }}-${{ matrix.target }}.exe
asset_name: upt-${{ matrix.target }}.exe
tag: ${{ github.ref }}

0 comments on commit 7b6d3d5

Please sign in to comment.