From 2ecafde97d5dfc54af19c209ae4a7a7ae65bea60 Mon Sep 17 00:00:00 2001 From: Adrien Date: Fri, 22 Sep 2023 13:06:52 +0200 Subject: [PATCH] fix: use committerdate instead of authordate --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index c9fe910..5cc316f 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -95,7 +95,7 @@ then # No commits list provided therefore look for tags echo "Looking for commits via tags..." - latestTags=$(git for-each-ref refs/tags --sort=-authordate --format='%(refname:short)' --count=2 --merged) + latestTags=$(git for-each-ref refs/tags --sort=-committerdate --format='%(refname:short)' --count=2 --merged) if [ -z "${latestTags}" ] then