Open-source release of MAESTRO, an agent orchestration platform that runs LLM-driven tasks through sandboxed tools, with a web UI. Apache-2.0. See README.md and docs/ (getting-started, configuration, architecture).
15 lines
418 B
Bash
Executable File
15 lines
418 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
# Generate version from last git commit timestamp (UTC)
|
|
VERSION=$(TZ=UTC git log -1 --format=%cd --date=format:'%Y%m%d.%H%M%S' 2>/dev/null || echo "dev")
|
|
|
|
OUTDIR="src/generated"
|
|
mkdir -p "$OUTDIR"
|
|
cat > "$OUTDIR/version.ts" << EOF
|
|
// Auto-generated by scripts/generate-version.sh — do not edit
|
|
export const APP_VERSION = '${VERSION}';
|
|
EOF
|
|
|
|
echo "Generated version: ${VERSION}"
|