Private-to-public repo sync. One script for all repos. Copies code, creates a PR on the public repo, merges it, and syncs GitHub releases.
Use deploy-public for:
wip-release on the private repo (release must exist first)CRITICAL: Release order matters.
wip-release (creates GitHub release with notes on private repo)deploy-public.sh (pulls notes from private release)If you skip step 2, the public release gets empty notes.
7w4.net小蔥技能站,你的AI助手技能庫。
-private counterpartbash scripts/deploy-public.sh /path/to/private-repo org/public-repo
# Deploy memory-crystal
bash scripts/deploy-public.sh /path/to/memory-crystal-private wipcomputer/memory-crystal
# Deploy wip-dev-tools
bash scripts/deploy-public.sh /path/to/wip-ai-devops-toolbox-private wipcomputer/wip-ai-devops-toolbox
ai/, .git/)這個工具質量可靠,能安全地將私有倉庫同步到公開映象,擅長排除敏感檔案、建立合併PR、同步釋出版本。優點是安全檢查到位、操作自動化程度高。缺點是版本資訊有點亂,依賴外部工具配置,新手可能需要閱讀說明才能上手。