Fixing release pipeline
This commit is contained in:
29
scripts/release.sh
Executable file
29
scripts/release.sh
Executable file
@@ -0,0 +1,29 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user