Repository navigation
feat(scripts): App Store release path - #546
Merged
Merged
Conversation
scripts/release-mas.sh builds, signs (manual, Apple Distribution plus the installed MAS profile) and exports the App Store pkg. scripts/asc-release.py uploads, creates the version, attaches the build, applies docs/appstore/listing.json and submits; --dry-run does every offline check and every read, writes nothing, and stops before upload and submit. Credentials come from HB_* env vars or 1Password, nothing is hardcoded. scripts/test-release-mas.sh covers argument parsing, the env-var checks, the listing mapping, the umask lesson and the dry-run write guard. RUNBOOK gains an App Store release section: direct release first, then the App Store.
Error 90255 is about files inside the package that only root can read, so the build now checks the archived app before export, next to the pkg mode check. Wording in the scripts and RUNBOOK follows.
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.
What
The Hidden Bar App Store release path, moved from a session scratchpad into the repo.
scripts/release-mas.sh: archive, manual-sign (Apple Distribution plus the installed MAS profile), export and check the App Store pkg.--dry-runruns preflight only.scripts/asc-release.py: upload, create the version (release type automatic after approval), attach the build (export compliance: no non-exempt encryption), set the review contact, applydocs/appstore/listing.json, submit.--dry-rundoes offline checks and GET reads only and stops before upload and submit. Standard library only.scripts/test-release-mas.sh(plusscripts/test-asc-release.py): offline tests, no network.No hardcoded key id, issuer, profile or scratch path: everything comes from
HB_*env vars or 1Password (Connect first), documented in the RUNBOOK table.Verification
bash scripts/test-release.sh: 62 passed.bash scripts/test-release-mas.sh: 25 passed (30 Python cases inside).asc-release.py release 1.13.1 22 --dry-runagainst the real account (key from 1Password) reports version 1.13.1 and build 22 as already present and writes nothing.