mirror of https://github.com/ospab/ostp.git
ostp update -b alpha/-b beta (and install.sh --branch alpha/beta directly) tried to download a GitHub Release literally tagged "alpha" or "beta". No such tag has ever existed - gha.ps1 cuts a fresh VERSIONED tag on every release (v0.4.2-beta.4, v0.4.3-alpha.2, ...) - so this always 404'd. /releases/latest can't help either: it only ever returns the newest non-prerelease (stable) tag, by GitHub's own definition, so it can never surface an alpha/beta release even in principle. Fix: for alpha/beta, query the full /releases list (returned newest-first) and take the first tag_name containing "-alpha"/"-beta". Verified the grep/sed extraction against a mock releases-list payload for both channels. |
||
|---|---|---|
| .. | ||
| build.ps1 | ||
| gha.ps1 | ||
| install.ps1 | ||
| install.sh | ||
| test_linux.sh | ||