Skip to content

Commit 14d09a8

Browse files
committed
release.yml: migrate from hub to gh
Close issue 1891 Signed-off-by: Akihiro Suda <[email protected]>
1 parent b4d4c31 commit 14d09a8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,4 @@ jobs:
9898
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9999
run: |
100100
tag="${GITHUB_REF##*/}"
101-
asset_flags=()
102-
for f in _artifacts/*; do asset_flags+=("-a" "$f"); done
103-
hub release create "${asset_flags[@]}" -F /tmp/release-note.txt --draft "${tag}"
101+
gh release create -F /tmp/release-note.txt --draft "${tag}" _artifacts/*

0 commit comments

Comments
 (0)