Files
rehearshalhub/scripts/release.sh
2026-04-10 11:31:29 +02:00

29 lines
860 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
echo "=== RehearsalHub Container Release ==="
echo
# Get current git tag
TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "latest")
echo "Releasing version: $TAG"
echo
# Build containers
echo "Step 1/2: Building containers..."
bash scripts/build-containers.sh
echo
# Upload containers
echo "Step 2/2: Uploading containers to Gitea..."
bash scripts/upload-containers-simple.sh
echo
echo "✅ Release complete!"
echo "All containers available at: git.sschuhmann.de/sschuhmann/rehearsalhub:$TAG"
echo
echo "Services:"
echo " - api: git.sschuhmann.de/sschuhmann/rehearsalhub/api:$TAG"
echo " - web: git.sschuhmann.de/sschuhmann/rehearsalhub/web:$TAG"
echo " - worker: git.sschuhmann.de/sschuhmann/rehearsalhub/worker:$TAG"
echo " - watcher: git.sschuhmann.de/sschuhmann/rehearsalhub/watcher:$TAG"