Skip to content

Commit 698f1bb

Browse files
Sorting tags based on commit date for branch (#272)
1 parent 72703d0 commit 698f1bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ case "$tag_context" in
8585
git_refs=$(git for-each-ref --sort=-v:refname --format '%(refname:lstrip=2)')
8686
;;
8787
*branch*)
88-
git_refs=$(git tag --list --merged HEAD --sort=-v:refname)
88+
git_refs=$(git tag --list --merged HEAD --sort=-committerdate)
8989
;;
9090
* ) echo "Unrecognised context"
9191
exit 1;;

0 commit comments

Comments
 (0)