Skip to content

Commit

Permalink
Fix tag date
Browse files Browse the repository at this point in the history
Tags got the date of the oldest commit, while this should be the date of
 the newest commit.
  • Loading branch information
DigiLive committed Oct 2, 2022
1 parent 06a7986 commit bba0568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RepoHandler/RepoHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public function fetchCommitData(bool $refresh): array
continue;
}

$commitData[$tag]['date'] = $line[0];
$commitData[$tag]['date'] = $commitData[$tag]['date'] ?? $line[0];
$commitData[$tag]['titles'][] = $line[1];
$commitData[$tag]['hashes'][] = $line[2];
}
Expand Down

0 comments on commit bba0568

Please sign in to comment.