Skip to content

Commit

Permalink
Merge pull request #5 from cytopia/release-0.1.4
Browse files Browse the repository at this point in the history
Fix sorting git tags
  • Loading branch information
cytopia authored Mar 9, 2022
2 parents 977055a + 9a54cf6 commit 6c3c9ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ runs:
### Get x number of latest tags of this repository (newline separated)
###
if [ "${{ inputs.num_latest_tags }}" != "0" ]; then
LATEST_TAGS="$( cd .git-ref-matrix-action && git tag --sort=committerdate | tail -${{ inputs.num_latest_tags }} )"
LATEST_TAGS="$( cd .git-ref-matrix-action && git tag --sort=creatordate | tail -${{ inputs.num_latest_tags }} )"
rm -r .git-ref-matrix-action
else
LATEST_TAGS=''
Expand Down

0 comments on commit 6c3c9ed

Please sign in to comment.