From 041b2dd29d30a8ecadca22ef25282cbad672d94e Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Fri, 18 Sep 2026 09:56:10 +0200 Subject: Show tui and server versions in the status line; derive version from git - build: VERSION defaults to git describe, deploy passes the tag via --build-arg - bokftui: srv version from meta, right-aligned next to the status line --- scripts/deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/deploy.sh') diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 2abd1e1..25c86dc 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -60,7 +60,7 @@ esac if [ "$BOKF_BUILD" = local ]; then echo "deploy: building image bokf:$TAG locally" - docker build -t "bokf:$TAG" . + docker build --build-arg "VERSION=$TAG" -t "bokf:$TAG" . echo "deploy: shipping image to $BOKF_HOST" docker save "bokf:$TAG" | gzip | "${SSH[@]}" 'gunzip | docker load' else @@ -69,7 +69,7 @@ else --exclude=./.git --exclude=./build --exclude=./var --exclude=./.env \ --exclude='./*.se' --exclude='./*.db' --exclude='./*.db-wal' \ --exclude='./*.db-shm' --exclude=./docs . | - "${SSH[@]}" "docker build -t 'bokf:$TAG' -" + "${SSH[@]}" "docker build --build-arg 'VERSION=$TAG' -t 'bokf:$TAG' -" fi remote "mkdir -p '$BOKF_REMOTE_DIR'" -- cgit v1.3