File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -141,9 +141,12 @@ jobs:
141141 - name : Generate SHA256 Signature
142142 run : sha256sum "artifacts/${{ matrix.release_name }}.zip" > "artifacts/${{ matrix.release_name }}.sha256.txt"
143143
144- - name : Extract Release Notes from CHANGELOG.md
145- id : extract_notes
144+ - name : Extract Release Notes and Create Release
145+ env :
146+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
146147 run : |
148+ set -e
149+
147150 tag="## ${{ matrix.release_name }}"
148151 awk -v tag="$tag" '
149152 $0 == tag {found=1; next}
@@ -155,10 +158,10 @@ jobs:
155158 echo "No changelog available." > extracted-changelog.md
156159 fi
157160
158- - name : Create GitHub Release via CLI
159- env :
160- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
161- run : |
161+ echo "--- Extracted Notes ---"
162+ cat extracted-changelog.md
163+ echo "-----------------------"
164+
162165 gh release create "$VERSION_TAG" \
163166 --title "$VERSION_TAG" \
164167 --notes-file extracted-changelog.md \
You can’t perform that action at this time.
0 commit comments