convox/ci/update.sh
David Dollar c5a611a053
add ci
2019-08-21 14:14:19 -04:00

9 lines
182 B
Bash
Executable File

#!/bin/bash
set -ex -o pipefail
source $(dirname $0)/env.sh
if [ "${VERSION}" != "$(convox api get /system | jq -r '.version')" ]; then
convox rack update "${VERSION}" --wait
fi