Fix build info generation

This commit is contained in:
admin committed 2026-07-27 11:11:32 +02:00
1 parent fe267b8766
commit 3b44048250
2 files changed
+6 -5

No files matched your search

+2 -1
View File
@@ -3,12 +3,13 @@ set -e
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
VERSION="${1:-v0.4-dev}"
cd "$PROJECT_ROOT"
cat > build_info.json <<EOF
{
"version": "v0.4-dev",
"version": "$VERSION",
"branch": "$(git branch --show-current)",
"commit": "$(git rev-parse --short HEAD)",
"timestamp": "$(date -Iseconds)"