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:
2024-07-12 12:30:30 -07:00
parent c68463bd2b
commit 4d3eef6067
6 changed files with 44 additions and 22 deletions

View File

@@ -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