We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
hub
gh
1 parent 6b5dc7b commit 53f6e7eCopy full SHA for 53f6e7e
.github/workflows/release.yml
@@ -40,11 +40,8 @@ jobs:
40
(cd _artifacts; shasum -a 256 SHA256SUMS)
41
- name: "Prepare the release note"
42
run: |
43
- tag="${GITHUB_REF##*/}"
44
shasha=$(shasum -a 256 _artifacts/SHA256SUMS | awk '{print $1}')
45
cat <<-EOF | tee /tmp/release-note.txt
46
- ${tag}
47
-
48
(Changes to be documented)
49
- - -
50
The binaries were built automatically on GitHub Actions.
@@ -58,6 +55,4 @@ jobs:
58
55
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59
56
60
57
tag="${GITHUB_REF##*/}"
61
- asset_flags=()
62
- for f in _artifacts/*; do asset_flags+=("-a" "$f"); done
63
- hub release create "${asset_flags[@]}" -F /tmp/release-note.txt --draft "${tag}"
+ gh release create -F /tmp/release-note.txt --draft --title "${tag}" "${tag}" _artifacts/*
0 commit comments