feat(macos): add native workbench and dmg release ci#8
Merged
Conversation
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 changed
script/build_and_run.shandscript/package_dmg.shfor local app staging and DMG packaging.github/workflows/macos-dmg-release.ymlto build a DMG onv*tags or manual workflow dispatch, attach the DMG/checksum to a GitHub Release, and optionally sign/notarize when Apple secrets are configuredrelease workflow
Push a tag like
v3.3.0or run the workflow manually with a tag. Tags with a suffix, likev3.3.0-macos.1, are marked as prereleases. The workflow uploadsPromptPressure-<tag>.dmgplus a SHA-256 checksum to the matching GitHub Release.Signing/notarization is automatic when these secrets exist:
APPLE_DEVELOPER_ID_APPLICATION_P12,APPLE_CERTIFICATE_PASSWORD,APPLE_KEYCHAIN_PASSWORD,DEVELOPER_ID_APPLICATION,APPLE_ID,APPLE_TEAM_ID,APPLE_APP_SPECIFIC_PASSWORD, and optionalNOTARYTOOL_PROFILE.validation
python3YAML load for.github/workflows/*.ymlbash -n script/build_and_run.sh script/package_dmg.shswift build && swift run PromptPressureChecksuv run --extra dev python -m pytest -q(302 passed, 1 warning)APP_VERSION=0.1.0 APP_BUILD=1 ./script/package_dmg.shhdiutil verify dist/PromptPressure.dmgnote
The CI DMG uses the current dev-sidecar package path. It is good for internal release testing; the fully self-contained Python runtime bundle remains the production distribution follow-up.