Skip to content

Commit e123a11

Browse files
authored
Merge pull request #1895 from AkihiroSuda/hub-to-gh
Follow-up to "release.yml: migrate from `hub` to `gh`"
2 parents 4930675 + d3ad42c commit e123a11

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,8 @@ jobs:
6868
run: (cd _artifacts; sha256sum SHA256SUMS)
6969
- name: "Prepare the release note"
7070
run: |
71-
tag="${GITHUB_REF##*/}"
7271
shasha=$(sha256sum _artifacts/SHA256SUMS | awk '{print $1}')
7372
cat <<-EOF | tee /tmp/release-note.txt
74-
${tag}
75-
7673
(Changes to be documented)
7774
7875
## Usage
@@ -98,4 +95,4 @@ jobs:
9895
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9996
run: |
10097
tag="${GITHUB_REF##*/}"
101-
gh release create -F /tmp/release-note.txt --draft "${tag}" _artifacts/*
98+
gh release create -F /tmp/release-note.txt --draft "${tag}" --title "${tag}" _artifacts/*

0 commit comments

Comments
 (0)