qwen-code/scripts/installation
yiliang114 2e4086aa4a fix(installer): tighten hosted default-version check, flag legacy URL
- Replace the loose `latest` fragment check with per-format regex patterns
  in HOSTED_INSTALLER_DEFAULT_VERSION_PATTERNS so an unrelated occurrence
  of `latest` (comment, help text) cannot satisfy the staging guard. The
  patterns still tolerate whitespace variation, only the default-version
  assignment itself must be intact.
- Add a "Hosted endpoint status" callout in INSTALLATION_GUIDE.md before
  the curl examples. The documented `--version` flow does not work against
  the OSS URL today because it currently serves the legacy NVM-based
  installer; the callout points users at a local checkout until the next
  release sync.
- Tests: drop `latest` from the fragments equality assertion, add positive
  and negative regex coverage, add a failure-path case for sources whose
  default version is not `latest`, and pin the new guide markers so the
  callout cannot silently disappear.
2026-05-07 19:03:22 +08:00
..
install-qwen-with-source.bat fix(installer): address release asset review findings 2026-05-07 15:57:54 +08:00
install-qwen-with-source.sh fix(installer): address release asset review followups 2026-05-06 21:19:19 +08:00
INSTALLATION_GUIDE.md fix(installer): tighten hosted default-version check, flag legacy URL 2026-05-07 19:03:22 +08:00