From cc2354ed2622c270d96b88a068ae87990e1da054 Mon Sep 17 00:00:00 2001 From: Francisco Rivera Valverde <44504424+franchuterivera@users.noreply.github.com> Date: Thu, 15 Apr 2021 09:39:51 +0200 Subject: [PATCH] Fix error while uploading the release assets (#63) * remove_double_release * try_edit --- .github/workflows/wheels.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 28bf927..c7de194 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -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"