File tree 1 file changed +11
-1
lines changed
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -158,6 +158,11 @@ jobs:
158
158
name : ${{matrix.artifact-folder}}
159
159
path : binary.tar
160
160
161
+ - name : Generate release notes from changelog (TEST!!!!!)
162
+ run : |
163
+ sed -e "/^## 1.54.0/,/^## / ! d" CHANGELOG.md | head -n -2 > RELEASE.md
164
+ cat RELEASE.md
165
+
161
166
package :
162
167
needs :
163
168
- build
@@ -300,13 +305,18 @@ jobs:
300
305
name : " Latest master"
301
306
files : rescript-vscode-latest-master.vsix
302
307
308
+ - name : Generate release notes from changelog
309
+ if : startsWith(github.ref, 'refs/tags/')
310
+ run : |
311
+ sed -e "/^## ${{ steps.tag_name.outputs.tag }}/,/^## / ! d" CHANGELOG.md | head -n -2 > RELEASE.md
312
+
303
313
- name : Publish release version to GitHub
304
314
if : startsWith(github.ref, 'refs/tags/')
305
315
uses : softprops/action-gh-release@v2
306
316
with :
307
317
token : " ${{ secrets.GITHUB_TOKEN }}"
308
318
prerelease : false
309
- generate_release_notes : true
319
+ body_path : RELEASE.md
310
320
name : ${{ steps.tag_name.outputs.tag }}
311
321
files : rescript-vscode-${{ steps.tag_name.outputs.tag }}.vsix
312
322
You can’t perform that action at this time.
0 commit comments