Auto commit: 2026-06-13 17:50:02

This commit is contained in:
2026-06-13 17:50:02 +08:00
parent 79e0a862d4
commit a700cc983e
2 changed files with 27 additions and 5 deletions

View File

@@ -41,13 +41,9 @@ echo "✅ 桌面應用程式打包完成"
# 6. 檢查輸出
echo ""
echo "📂 Step 6: 檢查輸出..."
ls -lh src-tauri/target/release/bundle/ 2>/dev/null || echo "找不到 bundle 目錄"
ls -lh src-tauri/target/release/bundle/dmg/*.dmg 2>/dev/null || echo "找不到 DMG"
echo ""
echo "========================================="
echo " ✅ CI/CD Pipeline 完成"
echo "========================================="
echo ""
echo "輸出位置:"
echo " macOS: src-tauri/target/release/bundle/macos/"
echo " 其他: src-tauri/target/release/bundle/"

26
local-ci-cd.sh Executable file
View File

@@ -0,0 +1,26 @@
#!/bin/bash
set -e
echo "========================================="
echo " Momentry Studio Local CI/CD"
echo "========================================="
# 1. 提交變更
echo ""
echo "📋 Step 1: Git 提交..."
git add .
git commit -m "Auto commit: $(date '+%Y-%m-%d %H:%M:%S')" 2>/dev/null || echo "無變更需要提交"
echo "✅ Git 提交完成"
# 2. 執行 CI/CD
echo ""
echo "🔨 Step 2: 執行 CI/CD..."
./ci-cd.sh
echo ""
echo "========================================="
echo " ✅ Local CI/CD 完成"
echo "========================================="
echo ""
echo "📂 輸出:"
ls -lh src-tauri/target/release/bundle/dmg/*.dmg 2>/dev/null || echo "找不到 DMG"