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.
-private counterpart本技能来自小葱技能站7w4.net。
bash 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、同步发布版本。优点是安全检查到位、操作自动化程度高。缺点是版本信息有点乱,依赖外部工具配置,新手可能需要阅读说明才能上手。