Removing legacy upload script

This commit is contained in:
Jeff Morgan 2014-12-06 15:27:18 -05:00
parent 32942a8fb0
commit d5d0a4626c
1 changed files with 0 additions and 21 deletions

View File

@ -1,21 +0,0 @@
#!/bin/bash
set -e # Auto exit on error
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $DIR/colors.sh
BASE=$DIR/..
NODE="$BASE/cache/node/bin/node"
VERSION=$($NODE -pe 'JSON.parse(process.argv[1]).version' "$(cat package.json)")
if [ ! command -v s3cmd >/dev/null 2>&1 ]; then
cecho "-----> Installing s3cmd (homebrew required)..." $blue
brew install s3cmd
fi
if [ ! -f $BASE/dist/osx/Kitematic-$VERSION.zip ]; then
cecho "-----> dist/osx/Kitematic-$VERSION.zip not found. Try running dist.sh first..." $red
exit 1;
fi
s3cmd put dist/osx/Kitematic-$VERSION.zip s3://kite-installer/Kitematic-$VERSION.zip