mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user