Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit b858e19

Browse files
committed
release.yml: migrate from hub to gh
Signed-off-by: Akihiro Suda <[email protected]>
1 parent e0190a6 commit b858e19

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,8 @@ jobs:
1919
- run: (cd _artifacts; sha256sum SHA256SUMS)
2020
- name: "Prepare the release note"
2121
run: |
22-
tag="${GITHUB_REF##*/}"
2322
shasha=$(sha256sum _artifacts/SHA256SUMS | awk '{print $1}')
2423
cat <<-EOF | tee /tmp/release-note.txt
25-
${tag}
26-
2724
The license (GPL-2.0) is included in the \`*.orig.tar.gz\` source archive.
2825
2926
- - -
@@ -38,6 +35,4 @@ jobs:
3835
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3936
run: |
4037
tag="${GITHUB_REF##*/}"
41-
asset_flags=()
42-
for f in _artifacts/*; do asset_flags+=("-a" "$f"); done
43-
hub release create "${asset_flags[@]}" -F /tmp/release-note.txt --draft "${tag}"
38+
gh release create -F /tmp/release-note.txt --draft --title "${tag}" "${tag}" _artifacts/*

0 commit comments

Comments
 (0)