ci: pin gen-index.sh clone to bread-ecosystem's dev branch
All checks were successful
dev release / build (push) Successful in 1m2s

The TRACK-aware gen-index.sh only exists on bread-ecosystem's dev branch
so far (not yet merged to main). Without --branch dev, the remote clone
defaulted to main and silently ran the old track-blind script, which is
why dl.breadway.dev/dev/index.json never actually picked up bread's dev
builds despite the workflow reporting success.
This commit is contained in:
Breadway 2026-07-22 09:49:43 +08:00
parent 00ba49bfe9
commit d480209ec2
2 changed files with 8 additions and 2 deletions

View file

@ -65,5 +65,9 @@ jobs:
exit 1
fi
rm -rf /tmp/bread-ecosystem-ci
git clone https://git.breadway.dev/Breadway/bread-ecosystem.git /tmp/bread-ecosystem-ci
# --branch dev: the TRACK-aware gen-index.sh isn't merged to
# bread-ecosystem's main yet, so a default clone would silently
# run the old track-blind script against the stable index instead
# of writing dl.breadway.dev/dev/index.json at all.
git clone --branch dev https://git.breadway.dev/Breadway/bread-ecosystem.git /tmp/bread-ecosystem-ci
TRACK=dev bash /tmp/bread-ecosystem-ci/scripts/gen-index.sh