Skip to content

Commit 5457b5f

Browse files
committed
Fix asset naming
1 parent 8e8efe5 commit 5457b5f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ jobs:
3232
- name: Upload binary to release
3333
run: |
3434
TAG_NAME=${GITHUB_REF#refs/tags/}
35-
gh release upload $TAG_NAME 'target/release/protofetch#protofetch-linux'
35+
cp target/release/protofetch protofetch-linux
36+
gh release upload $TAG_NAME protofetch-linux
3637
env:
3738
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
3839

@@ -56,6 +57,7 @@ jobs:
5657
- name: Upload binary to release
5758
run: |
5859
TAG_NAME=${GITHUB_REF#refs/tags/}
59-
gh release upload $TAG_NAME 'target/release/protofetch#protofetch-macos'
60+
cp target/release/protofetch protofetch-macos
61+
gh release upload $TAG_NAME protofetch-macos
6062
env:
6163
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)