Repository navigation
ci(release): build desktop .dmg and auto-bump the Homebrew tap on tag - #22
Merged
Merged
Conversation
Extend the tag-triggered release so a pushed v* tag does end to end what we did by hand last time: - Add a desktop job that builds the Tauri .dmg for macOS arm64 and x86_64, building the vendored evilginx first (make build-evilginx) since the app launches it at runtime, and uploads each .dmg plus its sha256 and the signed updater bundle. - Have publish attach the .dmgs and updater artifacts to the GitHub Release alongside the existing CLI archives and packaging stubs. - Add a tap job that checks out openhat-security/homebrew-tap, bumps the version and sha256 in the phishkit and phishkit-cli casks from the real release assets, and opens a PR as Adam. It is skipped when TAP_GITHUB_TOKEN is absent so the rest of the release still runs. The .dmgs stay unsigned/unnotarized, matching the first hand-built release. Needs repo secrets: TAURI_SIGNING_PRIVATE_KEY, TAURI_SIGNING_PRIVATE_KEY_PASSWORD (the app ships createUpdaterArtifacts) and TAP_GITHUB_TOKEN (write access to the tap). This does not cut a tag.
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.
Pushing a version tag (
v*) now runs the whole release, instead of the manual steps we did by hand forv0.1.1-alpha.1.What the tag triggers
.dmgfor macOS arm64 and x86_64. The vendored evilginx is built first (make build-evilginx) because the app launches it at runtime..dmgs, CLI archives, updater bundles, and the existing packaging stubs.openhat-security/homebrew-tapthat bumps the version, URLs, and sha256 in thephishkitcask and thephishkit-clicask, sobrew upgradeserves the new build once that PR lands.The
.dmgs stay unsigned and unnotarized, same as the first hand-built release, so macOS still warns on first launch. Add Apple secrets and a notarize step later to change that.Secrets to add (names only)
TAURI_SIGNING_PRIVATE_KEYandTAURI_SIGNING_PRIVATE_KEY_PASSWORD: the app shipscreateUpdaterArtifacts, sotauri buildneeds the minisign key to produce the signed updater bundle.TAP_GITHUB_TOKEN: a token with write access toopenhat-security/homebrew-tap. Without it the tap job is skipped and the rest of the release still runs.This PR does not cut a tag. Tagging stays a manual step.