Skip to content

Commit

Permalink
fix: use committerdate instead of authordate
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienFromToulouse committed Sep 22, 2023
1 parent 11ff5fc commit 2ecafde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2ecafde

Please sign in to comment.