Skip to content

Commit

Permalink
Sorting tags based on commit date for branch (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
MalachiCunliffe committed Jun 12, 2023
1 parent 72703d0 commit 698f1bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Expand Up @@ -85,7 +85,7 @@ case "$tag_context" in
git_refs=$(git for-each-ref --sort=-v:refname --format '%(refname:lstrip=2)')
;;
*branch*)
git_refs=$(git tag --list --merged HEAD --sort=-v:refname)
git_refs=$(git tag --list --merged HEAD --sort=-committerdate)
;;
* ) echo "Unrecognised context"
exit 1;;
Expand Down

0 comments on commit 698f1bb

Please sign in to comment.