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-11-11 15:37:59 +00:00
|
|
|
which frey || npm install -g frey
|
2016-11-11 14:59:01 +00:00
|
|
|
FREY="$(which frey)"
|
|
|
|
|
|
|
|
$FREY --projectDir "${__dir}/../.infra" deploy
|