Repository navigation
feat(ci): start Codemagic releases from tags - #6
Merged
Merged
Conversation
Push v<version> on main to build and upload both store binaries, or an annotated ota-<label> tag on the tip of main to publish a Codemagic Patch update through scripts/ota-release.zsh; ota-dry-<label> runs every gate without publishing. The store workflows refuse a tag that is off main or does not match package.json, and the OTA workflow refuses a tag that is not the current main or not annotated, since its message is the release note. The Patch token lives in the secure bookoo_production group. The GitHub webhook sends push and tag-creation events only, so pull requests, including ones from forks, never start a Codemagic build that could read that group. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Summary
Releases now start from git tags pushed to this repo. Codemagic does the building and publishing.
v<version>(e.g.v1.6.0) on mainios-production,android-productionota-<label>on the tip of mainota-productionscripts/ota-release.zsh allwithOTA_VERIFY=local. The tag message becomesOTA_MESSAGE, and the update goes to the PatchProductiondeployment.ota-dry-<label>ota-productionGuards:
package.json.Setup done outside the repo
codemagic-ci-bookoo, valid for 365 days, is stored in the secure Codemagic groupbookoo_productionasCODEMAGIC_PATCH_TOKEN.https://api.codemagic.io/hooks/<app>. It subscribes topushandcreateonly, never topull_request. That way no PR, including one from a fork, can start a build whose yaml could reach the secure group. The ping returned 202.Verification
ota-dry-local-test. The tag check passed, the tag message was read, lint:all, typecheck and tests passed (1746), and the run ended withVerified BooKoo all OTA release gates.ota-dry-tag to run the same dry run on Codemagic.🤖 Generated with Claude Code