iOS 0.11.0 (build 67): Eze-style v<version> tags, source.json lists org.cdnutter.stemify
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5344bbfd21
commit
8d3251dbc5
5 files changed
+18
-18
No files matched your search
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Writes ios/source.json, an AltStore source (SideStore and Feather read it too), from the
|
||||
ios-v* releases on Gitea. Only releases with a stemify-<version>.ipa are listed, since older
|
||||
ones used a different bundle ID. Set GITEA_TOKEN if the repo is private."""
|
||||
v* releases on Gitea (org.cdnutter.stemify). The older ios-v* releases were org.cdnutter.stemify-pub
|
||||
and are left out. Set GITEA_TOKEN if the repo is private."""
|
||||
import json, os, re, urllib.request
|
||||
|
||||
REPO = "https://gitea.iamchrisama.com/cdnutter/stemify"
|
||||
@@ -34,10 +34,10 @@ builds[slug] = re.search(r'CURRENT_PROJECT_VERSION: "(.*)"', yml)[1]
|
||||
|
||||
versions = []
|
||||
for rel in get(API + "/releases?limit=50"):
|
||||
v = rel["tag_name"].removeprefix("ios-v")
|
||||
v = rel["tag_name"].removeprefix("v")
|
||||
ipa = next((a for a in rel["assets"] if a["name"] == f"stemify-{v}.ipa"), None)
|
||||
# Pre-releases are dev builds (org.cdnutter.stemify-dev), they go to Sideload Developer instead.
|
||||
if not rel["tag_name"].startswith("ios-v") or not ipa or rel["prerelease"]:
|
||||
if not rel["tag_name"].startswith("v") or not ipa or rel["prerelease"]:
|
||||
continue
|
||||
versions.append({
|
||||
"version": v.split("-")[0],
|
||||
|
||||
Reference in new issue
Block a user