Add env variable to checkout automatically for releases

pull/553/head
cruizba 2020-10-30 22:42:41 +01:00
parent d5e84709ad
commit 79648c4006
1 changed files with 8 additions and 0 deletions

View File

@ -1,4 +1,12 @@
#!/bin/bash -x
set -eu -o pipefail
CF_RELEASE=${CF_RELEASE:-false}
if [[ $CF_RELEASE == "true" ]]; then
git checkout v$OPENVIDU_PRO_VERSION
fi
export AWS_DEFAULT_REGION=eu-west-1
DATESTAMP=$(date +%s)