Skip to content

Commit fa7489a

Browse files
committed
fix github release action
use `gh release` instead of hub command
1 parent d6d8fd1 commit fa7489a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,7 @@ jobs:
3636
3737
- run: |
3838
set -x
39-
assets=()
40-
for asset in build/*; do
41-
assets+=("-a" "$asset")
42-
done
4339
tag_name="${GITHUB_REF##*/}"
44-
hub release create "${assets[@]}" -m "$tag_name" "$tag_name"
40+
gh release create "$tag_name" build/*
4541
env:
4642
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)