mirror of https://github.com/ospab/ostp.git
Direct hotfix to master (like the earlier `ostp setup` wizard fix) - users curl install.sh live from this branch's raw URL for every self-update, so this can't wait for the normal alpha->beta->master promotion. Master's install.sh still had the pre-rename "pre-release" branch check (the alpha->beta rename landed on alpha/beta after this file's last direct hotfix, never reaching master) AND the deeper bug: ostp update -b alpha/-b beta tried to download a GitHub Release literally tagged "alpha"/"beta". No such tag has ever existed - gha.ps1 cuts a fresh VERSIONED tag every release (v0.4.2-beta.4, v0.4.3-alpha.2, ...) - so -b beta fell through to the stable-release path entirely unnoticed (silently "succeeding" with the wrong, older version) while -b alpha 404'd outright. Now queries the full /releases list (newest first, unlike /releases/latest which only ever returns the newest non-prerelease) and takes the first tag_name containing "-alpha"/"-beta". Brings master to parity with alpha's same fix. |
||
|---|---|---|
| .. | ||
| build.ps1 | ||
| gha.ps1 | ||
| install.ps1 | ||
| install.sh | ||
| test_linux.sh | ||