feat(common): ✨ 添加工具
This commit is contained in:
+2
-13
@@ -13,6 +13,7 @@ $PACKAGES = @(
|
||||
"packages/common",
|
||||
"packages/vue3",
|
||||
"packages/uni-app",
|
||||
"packages/uview-plus",
|
||||
"packages/vue2"
|
||||
)
|
||||
|
||||
@@ -74,18 +75,6 @@ foreach ($package in $PACKAGES) {
|
||||
}
|
||||
}
|
||||
|
||||
# 5. 推送到远程仓库
|
||||
Write-Host "🔼 推送到远程仓库..." -ForegroundColor Cyan
|
||||
$push = Read-Host "是否推送到远程仓库? (y/N)"
|
||||
if ($push -eq "y" -or $push -eq "Y") {
|
||||
git push origin master
|
||||
git push origin --tags
|
||||
Write-Host "✅ 已推送到远程仓库" -ForegroundColor Green
|
||||
} else {
|
||||
Write-Host "⚠️ 跳过推送,请手动执行:" -ForegroundColor Yellow
|
||||
Write-Host " git push origin master" -ForegroundColor Gray
|
||||
Write-Host " git push origin --tags" -ForegroundColor Gray
|
||||
}
|
||||
Write-Host ""
|
||||
|
||||
|
||||
Write-Host "🎉 所有包发布完成!版本: v$CURRENT_VERSION" -ForegroundColor Green
|
||||
|
||||
Reference in New Issue
Block a user