2016-11-11 14:59:01 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
|
|
|
|
source "${__dir}/build_funcs.sh"
|
|
|
|
|
|
|
|
# Compile release archive for master.tus.io server
|
|
|
|
compile linux amd64
|
|
|
|
maketar linux amd64
|
|
|
|
|
|
|
|
cp ./tusd_linux_amd64.tar.gz "${__dir}/../.infra/files/"
|
|
|
|
|
2016-12-20 12:42:06 +00:00
|
|
|
pushd "${__dir}/../.infra"
|
|
|
|
yarn || npm install
|
|
|
|
./node_modules/.bin/frey --force-yes deploy
|
|
|
|
popd
|