fix: Accept upstream -beta release tags #1

Merged
namillis merged 1 commit from fix/beta-tags into main 2026-10-09 18:45:35 +00:00
Owner

NuvioMobile has tagged its stable releases as X.Y.Z-beta since 0.5.1 (2026-09-23). They aren't marked as prereleases, and the IPA is named nuvio-X.Y.Z-full-release.ipa. The tag check only allowed digits and dots, so every updater run since then failed with unsupported release tag: 0.5.8-beta and the source stayed at 0.4.21.

This adds _version_from_tag, which strips a single -beta suffix (and a leading v) before the existing tag-vs-CFBundleShortVersionString check. Other suffixes (-rc1, -alpha, etc.) are still rejected, and releases GitHub marks as prereleases are still skipped.

Checked against the real 0.5.8-beta IPA: it embeds 0.5.8, build 140, iOS 16.1+, com.nuvio.media. A dry run of check_and_update() with no commit produced 0.5.8 (build 140), dated 2026-10-08, with the README row and news entry updated.

Tests: 12 pass, including the new test_version_from_tag_accepts_upstream_beta_suffix.

After merge, the next VM run (every 4 hours) will commit 0.5.8 to main and publish it.

NuvioMobile has tagged its stable releases as `X.Y.Z-beta` since 0.5.1 (2026-09-23). They aren't marked as prereleases, and the IPA is named `nuvio-X.Y.Z-full-release.ipa`. The tag check only allowed digits and dots, so every updater run since then failed with `unsupported release tag: 0.5.8-beta` and the source stayed at 0.4.21. This adds `_version_from_tag`, which strips a single `-beta` suffix (and a leading `v`) before the existing tag-vs-`CFBundleShortVersionString` check. Other suffixes (`-rc1`, `-alpha`, etc.) are still rejected, and releases GitHub marks as prereleases are still skipped. Checked against the real 0.5.8-beta IPA: it embeds `0.5.8`, build 140, iOS 16.1+, `com.nuvio.media`. A dry run of `check_and_update()` with no commit produced 0.5.8 (build 140), dated 2026-10-08, with the README row and news entry updated. Tests: 12 pass, including the new `test_version_from_tag_accepts_upstream_beta_suffix`. After merge, the next VM run (every 4 hours) will commit 0.5.8 to `main` and publish it.
NuvioMobile has tagged its stable releases as X.Y.Z-beta since 0.5.1
(prerelease is false and the IPA is a full release). The tag check only
allowed digits and dots, so every run since 2026-09-23 failed and the
source stayed at 0.4.21.

Strip a single -beta suffix before comparing the tag to the IPA's
embedded CFBundleShortVersionString. Other suffixes are still rejected.
namillis deleted branch fix/beta-tags 2026-10-09 18:45:37 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
namillis/nuvio-altstore!1
No description provided.