Files
engine/scripts/trigger-release.sh
zeekay 5fa770cd52 feat: Update release workflow to build hanzoai binary
- Rename hanzo-engine binary to hanzoai in release artifacts
- Support all platforms including Mac ARM (M1/M2/M3)
- Added trigger-release.sh script for easy releases
- Binary will be available as 'hanzoai' command after installation
2025-09-17 22:21:01 -05:00

29 lines
689 B
Bash
Executable File

#!/bin/bash
# Script to trigger a release workflow for hanzoai (hanzo-engine)
set -e
# Check if version is provided
if [ -z "$1" ]; then
echo "Usage: $0 <version>"
echo "Example: $0 v0.6.1"
exit 1
fi
VERSION=$1
# Validate version format
if ! [[ "$VERSION" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Error: Version must be in format v*.*.* (e.g., v0.6.1)"
exit 1
fi
echo "🚀 Triggering release for Hanzo Engine version $VERSION"
# Create and push tag
git tag -a "$VERSION" -m "Release $VERSION - Hanzo Engine"
git push origin "$VERSION"
echo "✅ Release triggered! Check GitHub Actions for build progress:"
echo " https://github.com/hanzoai/engine/actions"