We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ea4ce6 commit 623689fCopy full SHA for 623689f
.github/workflows/release.yml
@@ -76,7 +76,11 @@ jobs:
76
- name: Gzip Artifact
77
run: gzip .artifact/*
78
79
+ - name: Extract Release Note
80
+ run: echo "console.log(require('fs').readFileSync('CHANGELOG.md','utf8').split('## ')[1].slice('${{ github.ref_name }}'.length).trim())" | node > release-note.txt
81
+
82
- name: Publish Release
83
uses: softprops/action-gh-release@v2
84
with:
85
files: .artifact/cjs-module-lexer-*.gz
86
+ body_path: release-note.txt
0 commit comments