Skip to content

Commit

Permalink
better version sorting for manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
ddollar committed Feb 15, 2012
1 parent 04ba7d0 commit 7db8d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/manifest
Expand Up @@ -36,7 +36,7 @@ pushd $tempdir
$basedir/aws/s3 ls $S3_BUCKET \
| grep "^${manifest_type}" \
| sed -e "s/${manifest_type}-\([0-9.]*\)\\.tgz/\\1/" \
| sort -r \
| awk 'BEGIN {FS="."} {printf("%03d.%03d.%03d %s\n",$1,$2,$3,$0)}' | sort -r | cut -d" " -f2
> manifest.${manifest_type}

# upload manifest to s3
Expand Down

0 comments on commit 7db8d1d

Please sign in to comment.