Skip to content

Commit 206f746

Browse files
committed
ci: enhance changelog update step with previous tag reference
- Added step to retrieve the previous tag for more accurate changelog generation.
1 parent 8df394b commit 206f746

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main_test_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
- name: Get previous tag
7070
id: previousTag
7171
run: |
72-
name=$(git --no-pager tag --sort=creatordate --merged ${{ github.ref_name }} | tail -2 | head -1)
72+
name=$(git --no-pager tag --sort=creatordate --merged ${{ github.ref_name }} | tail -1 | head -1)
7373
echo "previousTag: $name"
7474
echo "previousTag=$name" >> $GITHUB_ENV
7575

0 commit comments

Comments
 (0)