Skip to content

Commit

Permalink
Merge pull request #5 from EchoesHQ/fix/commiterTimestamp
Browse files Browse the repository at this point in the history
fix: use committerdate instead of authordate
  • Loading branch information
AdrienFromToulouse authored Sep 22, 2023
2 parents 11ff5fc + 2ecafde commit 69836cd
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 69836cd

Please sign in to comment.