Skip to content

Commit

Permalink
Fix error while uploading the release assets (#63)
Browse files Browse the repository at this point in the history
* remove_double_release

* try_edit
  • Loading branch information
franchuterivera authored Apr 15, 2021
1 parent 5a33a3e commit cc2354e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
python -m pip install --upgrade pip
set -x
assets=()
for asset in ./dist/*/*; do
assets+=("-a" "$asset")
done
tag_name="${GITHUB_REF##*/}"
hub release create "${assets[@]}" -m "$tag_name" "$tag_name"
echo Uploading `(find ./dist -type f -printf "-a %p ")`
hub release edit $(find ./dist -type f -printf "-a %p ") -m "" "$tag_name"

0 comments on commit cc2354e

Please sign in to comment.