Skip to content

Commit

Permalink
Migrate hub to gh (#3741)
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis authored Jan 8, 2024
1 parent 0644030 commit 3c79ffc
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 @@ -30,12 +30,12 @@ jobs:
- name: Attach assets to release
run: |
set -x
assets=()
ASSETS=()
for asset in Betaflight-*/*; 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 3c79ffc

Please sign in to comment.