diff --git a/ci/publish-s3 b/ci/publish-s3 deleted file mode 100755 index d1cd1020c02..00000000000 --- a/ci/publish-s3 +++ /dev/null @@ -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