Skip to content

Commit 71e2e29

Browse files
committed
fix: Use cp+filename approach for release asset naming instead of # syntax
1 parent 246cf3f commit 71e2e29

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,8 @@ jobs:
118118
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
119119
run: |
120120
TAG="${{ github.event.inputs.tag || github.ref_name }}"
121-
gh release upload "$TAG" \
122-
"target/${{ matrix.target }}/release/${{ matrix.artifact_name }}#${{ matrix.asset_name }}" \
123-
--clobber
121+
cp target/${{ matrix.target }}/release/${{ matrix.artifact_name }} ${{ matrix.asset_name }}
122+
gh release upload "$TAG" ${{ matrix.asset_name }} --clobber
124123
125124
build-docker-images:
126125
name: Build and Push Docker Images

0 commit comments

Comments
 (0)