Skip to content

Commit

Permalink
Fix release assets upload (#720)
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis authored Mar 19, 2024
1 parent 8419b1b commit da4e1e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
set -x
ASSETS=()
for asset in Betaflight-*/*; do
ASSETS+=("-a" "$asset")
ASSETS+=("$asset")
echo "$asset"
done
TAG_NAME="${GITHUB_REF##*/}"
gh release edit "${ASSETS[@]}" "{$TAG_NAME}"
gh release upload "${TAG_NAME}" "${ASSETS[@]}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit da4e1e2

Please sign in to comment.