diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f4c0d2b7..3103303c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -27,11 +27,8 @@ jobs: run: sha256sum /tmp/SHA256SUMS - name: "Prepare the release note" run: | - tag="${GITHUB_REF##*/}" shasha=$(sha256sum /tmp/SHA256SUMS | awk '{print $1}') cat << EOF | tee /tmp/release-note.txt - ${tag} - #### Changes (To be documented) @@ -52,6 +49,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | tag="${GITHUB_REF##*/}" - asset_flags=() - for f in /tmp/artifact/* /tmp/SHA256SUMS; do asset_flags+=("-a" "$f"); done - hub release create "${asset_flags[@]}" -F /tmp/release-note.txt --draft "${tag}" + gh release create -F /tmp/release-note.txt --draft --title "${tag}" "${tag}" /tmp/artifact/* /tmp/SHA256SUMS