Revert "Add s3-publishing script."

This reverts commit 98f06c9af6.
This commit is contained in:
Drew Raines 2013-03-13 07:24:17 -05:00
parent 98f06c9af6
commit bea18d9b25
1 changed files with 0 additions and 13 deletions

View File

@ -1,13 +0,0 @@
#!/bin/bash
SHA=$(git rev-parse --short HEAD)
BRANCH=$(git branch --no-color 2>/dev/null | grep '^*' | colrm 1 2)
BUCKET=download.elasticsearch.org
KEYPRE=elasticsearch/elasticsearch
for src in target/releases/elasticsearch-*.{deb,tar.gz,zip}; do
f=$(echo $src | perl -pe "s,(elasticsearch)-.*?\.(tar.gz|zip|deb)\$,\$1-$BRANCH.\$2,")
cmd="s3cmd put $src s3://$BUCKET/$KEYPRE/$(basename $f)"
echo $cmd
$cmd
done