File tree Expand file tree Collapse file tree 1 file changed +24
-21
lines changed
Expand file tree Collapse file tree 1 file changed +24
-21
lines changed Original file line number Diff line number Diff line change @@ -16,28 +16,31 @@ jobs:
1616 helpers="$(cargo package --list -p hooq-helpers)"
1717 macros="$(cargo package --list -p hooq-macros)"
1818 hooq="$(cargo package --list -p hooq)"
19- {
20- echo " <details>"
21- echo " <summary>Files included in hooq-helpers</summary>"
22- echo
23- echo "$helpers" | tr ' ' '\n' | sed -e 's/^/- /g'
24- echo
25- echo " </details>"
26- echo " <details>"
27- echo " <summary>Files included in hooq-macros</summary>"
28- echo
29- echo "$macros" | tr ' ' '\n' | sed -e 's/^/- /g'
30- echo
31- echo " </details>"
32- echo " <details>"
33- echo " <summary>Files included in hooq</summary>"
34- echo
35- echo "$hooq" | tr ' ' '\n' | sed -e 's/^/- /g'
36- echo
37- echo " </details>"
38- } >> "$GITHUB_OUTPUT"
19+ cat <<EOF >> "$GITHUB_OUTPUT"
20+ <details>
21+ <summary>Files included in hooq-helpers</summary>
22+
23+ $( echo "$helpers" | tr ' ' '\n' | sed -e 's/^/- /g')
24+
25+ </details>
26+ <details>
27+ <summary>Files included in hooq-macros</summary>
28+
29+ $( echo "$macros" | tr ' ' '\n' | sed -e 's/^/- /g')
30+
31+ </details>
32+ <details>
33+ <summary>Files included in hooq</summary>
34+
35+ $( echo "$hooq" | tr ' ' '\n' | sed -e 's/^/- /g')
36+
37+ </details>
38+ EOF
3939 - name : Create Release Note
40+ env :
41+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
42+ TAG : ${{ github.ref_name }}
4043 run : |
41- gh release create "$GITHUB_REF " --draft \
44+ gh release create "$TAG " --draft \
4245 --generate-notes \
4346 --notes "Included files in this release:\n\n${{ steps.included-files-list.outputs }}"
You can’t perform that action at this time.
0 commit comments