File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,17 @@ jobs:
17
17
- name : 🛎 Checkout
18
18
uses : actions/checkout@v4
19
19
with :
20
- # you need full history to collect changes correctly
21
20
fetch-depth : 0
22
21
23
22
- name : 📋 Get Changes between Tags
24
23
id : changes
25
- uses : simbo/changes-between-tags-action@v1
24
+ run : |
25
+ git fetch --tags
26
+ latest_tag=$(git describe --tags --abbrev=0)
27
+ changelog=$(git log $latest_tag..HEAD --oneline)
28
+ echo "commit_log<<EOF" >> $GITHUB_ENV
29
+ echo "$changelog" >> $GITHUB_ENV
30
+ echo "EOF" >> $GITHUB_ENV
26
31
27
32
web :
28
33
runs-on : ubuntu-latest
@@ -183,7 +188,7 @@ jobs:
183
188
## Release Notes for Version ${{env.GitVersion_MajorMinorPatch}}
184
189
185
190
### Commits:
186
- ${{ needs.commit_log.outputs .commit_log }}
191
+ ${{ env .commit_log }}
187
192
188
193
### Additional Information:
189
194
As always thanks for playing!
You can’t perform that action at this time.
0 commit comments