Skip to content

Commit

Permalink
Fix asset naming
Browse files Browse the repository at this point in the history
  • Loading branch information
iravid committed Oct 27, 2021
1 parent 8e8efe5 commit 5457b5f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ jobs:
- name: Upload binary to release
run: |
TAG_NAME=${GITHUB_REF#refs/tags/}
gh release upload $TAG_NAME 'target/release/protofetch#protofetch-linux'
cp target/release/protofetch protofetch-linux
gh release upload $TAG_NAME protofetch-linux
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

Expand All @@ -56,6 +57,7 @@ jobs:
- name: Upload binary to release
run: |
TAG_NAME=${GITHUB_REF#refs/tags/}
gh release upload $TAG_NAME 'target/release/protofetch#protofetch-macos'
cp target/release/protofetch protofetch-macos
gh release upload $TAG_NAME protofetch-macos
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 5457b5f

Please sign in to comment.