mirror of https://github.com/samply/bridgehead.git
export ENVIRONMENT
This commit is contained in:
parent
25e1d4fb15
commit
ae95f14030
|
@ -74,13 +74,18 @@ loadVars() {
|
|||
case "$ENVIRONMENT" in
|
||||
"production")
|
||||
export FOCUS_TAG=main
|
||||
export ENVIRONMENT="production"
|
||||
;;
|
||||
"test")
|
||||
export FOCUS_TAG=develop
|
||||
export ENVIRONMENT="test"
|
||||
|
||||
;;
|
||||
*)
|
||||
report_error 7 "Environment \"$ENVIRONMENT\" is unknown. Assuming production. FIX THIS!"
|
||||
export FOCUS_TAG=main
|
||||
export ENVIRONMENT="production"
|
||||
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue