feat: Implement Docker version reporting by extracting git tag to an environment variable for API consumption.

This commit is contained in:
Hördle Bot
2025-11-25 09:41:50 +01:00
parent 5102ca86cb
commit ce413cf6bc
3 changed files with 21 additions and 0 deletions

View File

@@ -1,6 +1,12 @@
#!/bin/sh
set -e
# Export version if available
if [ -f /app/version.txt ]; then
export APP_VERSION=$(cat /app/version.txt)
echo "App version: $APP_VERSION"
fi
echo "Starting deployment..."
# Run migrations