Released v1
This commit is contained in:
Executable
+21
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# Build the project first
|
||||
echo "Building project..."
|
||||
./build.sh
|
||||
|
||||
# Get version from git tag or use a default
|
||||
VERSION=$(git describe --tags --exact-match 2>/dev/null || echo "v$(date +%Y%m%d-%H%M%S)")
|
||||
echo "Creating release: $VERSION"
|
||||
|
||||
# Create the release using tea CLI
|
||||
# This assumes you have tea configured and authenticated
|
||||
tea release create \
|
||||
--title "Release $VERSION" \
|
||||
--note "Automated release for version $VERSION" \
|
||||
--tag "$VERSION" \
|
||||
--target "$(git rev-parse HEAD)" \
|
||||
--asset pcli
|
||||
|
||||
echo "Release $VERSION created successfully!"
|
||||
Reference in New Issue
Block a user