File tree Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Release Notes
33on :
44 push :
55 tags :
6- - ' * '
6+ - " * "
77
88jobs :
99 notes :
1212 - uses : actions/checkout@v4
1313 with :
1414 fetch-depth : 0
15- - name : Get Previous Tag
16- run : |
17- PREVIOUS_TAG=$(git describe --abbrev=0 --tags $(git rev-list --tags --skip=1 --max-count=1))
18- echo ${PREVIOUS_TAG}
19- echo "previous_tag=${PREVIOUS_TAG}" >> $GITHUB_ENV
20- - name : Get New Tag
21- run : |
22- NEW_TAG=${GITHUB_REF#refs/tags/}
23- echo ${NEW_TAG}
24- echo "new_tag=${NEW_TAG}" >> $GITHUB_ENV
2515 - uses : actions/setup-node@v4
26- - name : Generate Release Notes
27- id : notes
28- run : |
29- NOTES=$(npx generate-github-release-notes jrjohnson ember-cli-image-transformer ${{ env.previous_tag }} ${{env.new_tag}})
30- echo ${NOTES}
31- # remove line breaks from notes so they can be passed around
32- NOTES="${NOTES//$'\n'/'%0A'}"
33- echo "release_notes=${NOTES}" >> $GITHUB_ENV
3416 - uses : ncipollo/release-action@v1
3517 with :
36- body : ${{env.release_notes}}
3718 token : ${{ secrets.MY_TOKEN }}
19+ generateReleaseNotes : true
You can’t perform that action at this time.
0 commit comments