mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 11:29:58 +03:00
Migrate hub to gh (#13279)
This commit is contained in:
parent
f1cbd83f06
commit
3e5d96158b
1 changed files with 4 additions and 4 deletions
8
.github/workflows/build-release.yml
vendored
8
.github/workflows/build-release.yml
vendored
|
@ -28,12 +28,12 @@ jobs:
|
||||||
- name: Attach assets to release
|
- name: Attach assets to release
|
||||||
run: |
|
run: |
|
||||||
set -x
|
set -x
|
||||||
assets=()
|
ASSETS=()
|
||||||
for asset in Assets/*.hex; do
|
for asset in Assets/*.hex; do
|
||||||
assets+=("-a" "$asset")
|
ASSETS+=("-a" "$asset")
|
||||||
echo "$asset"
|
echo "$asset"
|
||||||
done
|
done
|
||||||
tag_name="${GITHUB_REF##*/}"
|
TAG_NAME="${GITHUB_REF##*/}"
|
||||||
hub release edit "${assets[@]}" -m "" "$tag_name"
|
gh release edit "${ASSETS[@]}" "${TAG_NAME}"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue