Commits

François-Xavier Bourlet committed cf9a89e

add a tiny helper

Comments (0)

Files changed (1)

push_last_package_to_s3.sh

+#!/bin/sh
+# François-Xavier Bourlet <fx@dotcloud.com>
+# purpose: upload the latest debian package to s3://dotcloud-deb
+
+DEB="`ls */liblxcstats_*_amd64.deb liblxcstats_*_amd64.deb 2>/dev/null | sort | tail -n 1`"
+echo "uploading $DEB ..."
+s3cmd put "$DEB" s3://dotcloud-deb
+s3cmd setacl -P -r s3://dotcloud-deb