Skip to content

Commit 7bcf494

Browse files
committed
fix(ci): use two most recent tags to generate change logs
1 parent 08e0005 commit 7bcf494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ jobs:
215215
# Sort the list of tags in ascending order
216216
sorted_tags=($(printf "%s\n" "${semantic_version_tags[@]}" | sort -V))
217217
218-
previous_semantic_version=$sorted_tags[-1]
218+
previous_semantic_version=$sorted_tags[-2]
219219
220220
# Download & Install clog-tool/clog-cli
221221
wget https://github.com/clog-tool/clog-cli/releases/download/v0.9.3/clog-v0.9.3-x86_64-unknown-linux-gnu.tar.gz

0 commit comments

Comments
 (0)