From 33c0f6e5719aa4f389d7d2c69769148ba5c94d7b Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Mon, 2 Nov 2026 17:44:41 +0100 Subject: [PATCH] fix(release): sync the preview channel of the CDN before the stable one - the stable channel opens a pull request and the preview channel pushes to main, both from a fresh clone of the CDN - the stable pull request now branches off main after the preview push, so a release that moves both latest and preview no longer leaves it with a conflict in versions.json --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2f7819b8f5..5cf75ab7f8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -206,7 +206,7 @@ jobs: gh auth setup-git git config --global user.name "github-actions[bot]" git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" - jq -r '{stable: .latest, preview: .preview} | to_entries[] | select(.value) | "\(.key) \(.value)"' <<< "$TAGS" | while read -r channel release; do + jq -r '{preview: .preview, stable: .latest} | to_entries[] | select(.value) | "\(.key) \(.value)"' <<< "$TAGS" | while read -r channel release; do git switch --quiet --detach "$release" scripts/sync-cdn.sh "--$channel" "${release#v}" done