Release workflow: auto-update the AltStore source manifest#23
Merged
Conversation
Each Release build now prepends the new version to altstore-source.json (the manifest AltStore/SideStore reads from raw main, docs/IOS.md) instead of a manual PR (#19): - New 'altstore' job (needs bump + ios) pulls the freshly-uploaded IPA's byte size off the release asset, then prepends {version, buildVersion, date, localizedDescription, downloadURL, size, minOSVersion} to apps[0].versions AND mirrors those into the app-level legacy fields older AltStore clients read. Idempotent (dedupes the version on a re-run). - bump now outputs buildVersion (CURRENT_PROJECT_VERSION) for the manifest. - Commits to main (where AltStore reads); best-effort — a missing manifest / IPA / push conflict warns and skips, never failing the release. Also fixes the git config author email in the workflow to mp3geek@gmail.com.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automates what PR #19 did by hand: each Release build now prepends the new version to
altstore-source.json— the manifest AltStore/SideStore reads fromraw.githubusercontent.com/ryanbr/noop/main/...(docs/IOS.md) — so sideload users are offered the release automatically.How
altstorejob (needs: [bump, ios]): pulls the freshly-uploaded IPA’s bytesizeoff the release asset, then prepends{version, buildVersion, date, localizedDescription, downloadURL, size, minOSVersion}toapps[0].versionsand mirrors those into the app-level legacy fields older AltStore clients read (PR Update altstore-source.json with version 8.3.0 #19 only did the array).bumpnow outputsbuildVersion(CURRENT_PROJECT_VERSION) for the manifest.Safety
git configauthor email.Note on 8.3.0
Already released, so the workflow won’t backfill it. Either merge #19 (its array-only entry) or re-run the Release build for
v8.3.0— which will now populate AltStore automatically (and more completely than #19).Validated locally: YAML parses (jobs: bump, android, macos, ios, altstore); the
jqproduces valid JSON with the entry prepended + app-level fields updated + idempotent on re-run.