Skip to content

Commit 2a6b522

Browse files
committed
Use --sort option to fetch latest tags
during making of `CHANGELOG.md`. Otherwise we always get 23.0.9 on the top of the list.
1 parent 49620f2 commit 2a6b522

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pack-binaries.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function make_change_log()
99
{
1010
echo "# Release notes"
1111
echo ""
12-
for TAG_ID in `git tag --list '2*' | tac` ; do
12+
for TAG_ID in `git tag --list --sort=-v:refname '2*'` ; do
1313
DATE=`git show --no-patch --format=Date:%ad --date=short $TAG_ID |\
1414
grep Date: | sed -e s/Date://`
1515
echo "## $TAG_ID ($DATE)"

0 commit comments

Comments
 (0)