mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-05-26 05:22:05 +00:00
make the release action append full changelog (commits) since last release
This commit is contained in:
parent
2e50173c45
commit
f24015e3c5
1 changed files with 6 additions and 1 deletions
7
.github/workflows/release.yaml
vendored
7
.github/workflows/release.yaml
vendored
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue