mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-10-15 05:11:26 +00:00
Merge branch 'main' into canary
Resolve conflicts in docker.ts and domain.ts: canary already contains a superset of main's hotfix cherry-picks (isDockerDesktop, isolated network label pinning), just refactored/reformatted, so both sides kept canary's version. Also fix hotfix-cherry-pick.yml to sync each cherry-pick back into canary immediately, so canary and main share history for that change and the next canary->main release PR doesn't re-conflict on it.
This commit is contained in:
@@ -34,3 +34,16 @@ jobs:
|
||||
fi
|
||||
git commit --amend -m "$(git log -1 --format=%B)" -m "[skip ci]"
|
||||
git push origin main
|
||||
|
||||
- name: Sync cherry-pick back into canary
|
||||
run: |
|
||||
git config user.name "Dokploy Bot"
|
||||
git config user.email "bot@dokploy.com"
|
||||
git fetch origin canary main
|
||||
git checkout -B canary origin/canary
|
||||
if ! git merge origin/main -m "chore: sync hotfix from main into canary [skip ci]"; then
|
||||
git merge --abort
|
||||
echo "::error::Could not auto-sync the hotfix into canary (real conflict, not just history divergence). Merge main into canary manually to avoid a conflict on the next release PR."
|
||||
exit 1
|
||||
fi
|
||||
git push origin canary
|
||||
|
||||
Reference in New Issue
Block a user