make the release action append full changelog (commits) since last release

This commit is contained in:
Send_Nukez 2021-10-29 15:05:27 +02:00
parent 2e50173c45
commit f24015e3c5

View file

@ -20,6 +20,7 @@ jobs:
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v2
@ -41,7 +42,7 @@ jobs:
zip -r DribbblishDynamic_v${{ github.event.inputs.version }}.zip *
mv DribbblishDynamic_v${{ github.event.inputs.version }}.zip ..
- name: Read CHANGELOG.md
- name: Read CHANGELOG.md and get latest Tag
run: |
[ -s CHANGELOG.md ] && CHANGELOG=$(< CHANGELOG.md) || CHANGELOG="*Empty.*"
@ -49,6 +50,8 @@ jobs:
echo "$CHANGELOG" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
echo "LATEST_TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
- name: Upload Release
uses: softprops/action-gh-release@v1
with:
@ -61,6 +64,8 @@ jobs:
## Changelog
${{ env.CHANGELOG }}
Full changelog [here](https://github.com/JulienMaille/dribbblish-dynamic-theme/compare/${{ env.LATEST_TAG }}...${{ github.event.inputs.version }})
---
### Install / Update
#### Windows (PowerShell)