Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
1.3 kB ยท 54 lines
Shell
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455#!/bin/bash# Automated Mac build + upload pipeline for SpiderLilyset -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"VERSION=${1:-$(date +%Y.%m.%d.%H.%M)}
echo "========================================="echo "SpiderLily Mac Build Pipeline"echo "========================================="echo "Version: $VERSION"echo ""
# Step 1: Build the Mac appecho "๐จ Step 1/3: Building Mac app...""$SCRIPT_DIR/package-spiderlily-mac.sh"
if [ $? -ne 0 ]; then echo "โ Build failed!" exit 1fi
# Step 2: Find the built appPROJECT_ROOT="$HOME/Perforce/spiderlily_build_workspace_macmini/SL_main"BUILD_PATH="$PROJECT_ROOT/Packaged/Mac/SpiderLily.app"
if [ ! -d "$BUILD_PATH" ]; then echo "โ Build output not found at: $BUILD_PATH" exit 1fi
echo ""echo "โ
Build complete!"echo " Path: $BUILD_PATH"echo ""
# Step 3: Upload to Spacesecho "โ๏ธ Step 2/3: Uploading to DigitalOcean Spaces...""$SCRIPT_DIR/../upload-to-spaces.sh" mac "$BUILD_PATH" "$VERSION"
if [ $? -ne 0 ]; then echo "โ Upload failed!" exit 1fi
# Step 4: Update builds.false.work indexecho ""echo "๐ Step 3/3: Updating builds.false.work...""$SCRIPT_DIR/../update-builds-index.sh" mac "$VERSION"
echo ""echo "๐ Pipeline complete!"echo ""echo "๐ View builds at: https://builds.false.work"