Skip to content

Commit

Permalink
Merge pull request betaflight#502 from haslinghuis/fix-release
Browse files Browse the repository at this point in the history
Release assets upload fix
  • Loading branch information
haslinghuis authored Mar 19, 2024
2 parents 686a485 + 3a9121d commit c6936dd
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 @@ -30,10 +30,10 @@ jobs:
set -x
ASSETS=()
for asset in Assets/*.zip; 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 c6936dd

Please sign in to comment.