Skip to content

Commit

Permalink
Merge pull request #21 from paramaggarwal/patch-1
Browse files Browse the repository at this point in the history
Logic to sort the tags was wrong.
  • Loading branch information
tj committed Mar 25, 2014
2 parents 31c0b16 + 73eeb89 commit c0543c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ deploy() {
if test -z "$ref"; then
log fetching latest tag
ref=`run "cd $path/source && git for-each-ref refs/tags \
--sort=-authordate \
--sort=-*authordate \
--format='%(refname)' \
--count=1 | cut -d '/' -f 3"`
test $? -eq 0 || abort failed to determine latest tag
Expand Down

0 comments on commit c0543c3

Please sign in to comment.