Skip to content

Commit e36cf1a

Browse files
Merge pull request #159 from vojtechtrefny/main_shortlog-fix
Makefile: Fix getting the latest tag in the shortlog target
2 parents 518fd4a + 1d844d1 commit e36cf1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ rpmlog:
8686
echo
8787

8888
shortlog:
89-
git shortlog -r --no-merges --format="- %s" -w76,0,2 $$(git tag -l | grep '^[0-9]' | tail -n 1)..HEAD | sed 's/"):$"/"):\n"/g'
89+
git shortlog -r --no-merges --format="- %s" -w76,0,2 $$(git tag -l | grep '^[0-9]' | sort -V | tail -n 1)..HEAD | sed 's/"):$"/"):\n"/g'
9090

9191
bumpver:
9292
@VERSION=`echo $(PACKAGE_VERSION)|sed -r 's/(.*)\.([0-9]+)/\1/'` ; \

0 commit comments

Comments
 (0)