client: new internal client versioning system
- Version is now determined on-the-fly from manifest file - Internal versioning no longer depends on environment file
This commit is contained in:
9
client/docker-finance.d/client/env/gen.bash
vendored
9
client/docker-finance.d/client/env/gen.bash
vendored
@@ -24,16 +24,17 @@
|
||||
# Different platforms require slightly different environment
|
||||
[ -z "$global_platform" ] && exit 1
|
||||
|
||||
# Version is internally set on-the-fly
|
||||
[ -z "$global_client_version" ] && exit 1
|
||||
|
||||
export DOCKER_FINANCE_VERSION="$global_client_version"
|
||||
|
||||
# Developer related
|
||||
|
||||
if [ -z "$DOCKER_FINANCE_DEBUG" ]; then
|
||||
export DOCKER_FINANCE_DEBUG=false
|
||||
fi
|
||||
|
||||
if [ -z "$DOCKER_FINANCE_VERSION" ]; then
|
||||
export DOCKER_FINANCE_VERSION="1.0.0"
|
||||
fi
|
||||
|
||||
# Allows transparent r/w of mounted volumes
|
||||
|
||||
if [ -z "$DOCKER_FINANCE_UID" ]; then
|
||||
|
||||
Reference in New Issue
Block a user