Permalink
Browse files

better version sorting for manifests

  • Loading branch information...
ddollar committed Feb 15, 2012
1 parent 04ba7d0 commit 7db8d1ddf8e27527e49e84fb0e54528796347dce
Showing with 1 addition and 1 deletion.
  1. +1 −1 support/manifest
View
@@ -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

0 comments on commit 7db8d1d

Please sign in to comment.