mirror of https://github.com/docker/docs.git
Removing legacy upload script
This commit is contained in:
parent
32942a8fb0
commit
d5d0a4626c
|
@ -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
|
|
Loading…
Reference in New Issue