We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c13423 commit 422aeefCopy full SHA for 422aeef
.github/workflows/release_and_publish.yml
@@ -26,6 +26,16 @@ jobs:
26
- name: Build the dist folder including only the library
27
run: npm run build:lib
28
29
+ - name: Generate release notes
30
+ id: release_notes
31
+ run: |
32
+ PREV_TAG=$(git describe --tags --abbrev=0 HEAD^)
33
+ echo "PREV_TAG=$PREV_TAG" >> $GITHUB_ENV
34
+ NOTES=$(git log $PREV_TAG..HEAD --pretty=format:'- %s (%an)')
35
+ echo "RELEASE_NOTES<<EOF" >> $GITHUB_ENV
36
+ echo "$NOTES" >> $GITHUB_ENV
37
+ echo "EOF" >> $GITHUB_ENV
38
+
39
- name: Create GitHub Release
40
id: create_release
41
uses: actions/create-release@v1
@@ -34,6 +44,7 @@ jobs:
44
with:
45
tag_name: ${{ github.ref }}
46
release_name: ${{ github.ref }}
47
+ body: ${{ env.RELEASE_NOTES }}
48
draft: false
49
prerelease: false
50
0 commit comments