Skip to content

Commit

Permalink
Merge pull request #494 from betaflight/haslinghuis-patch-1
Browse files Browse the repository at this point in the history
Migrate hub to gh
  • Loading branch information
klutvott123 authored Feb 2, 2024
2 parents 569e409 + 1f890f5 commit f7a884a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:
- name: Attach assets to release
run: |
set -x
assets=()
ASSETS=()
for asset in Assets/*.zip; do
assets+=("-a" "$asset")
ASSETS+=("-a" "$asset")
echo "$asset"
done
tag_name="${GITHUB_REF##*/}"
hub release edit "${assets[@]}" -m "" "$tag_name"
TAG_NAME="${GITHUB_REF##*/}"
gh release edit "${ASSETS[@]}" "{TAG_NAME}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f7a884a

Please sign in to comment.