Skip to content

feat(desktop-release): one reusable release for every estate's desktop app, its packs checked by beplus electron check (BE-281) - #34

Merged
igorlamos merged 5 commits into
mainfrom
claude/desktop-release
Nov 23, 2026
Merged

igorlamos merged 5 commits into
mainfrom
claude/desktop-release

Conversation

@beplus-agent-claude

@beplus-agent-claude beplus-agent-claude Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

One reusable release for every estate's desktop app: macOS, Windows and Linux. Part of BE-281, under I-34 (the freeze rule).

Rewritten (2026-11-23). setup-beplus carries no Node scripts, so desktop-pack/ and test-desktop-pack.yml are gone. Each pack is now checked by beplus electron check, from the beplus CLI plugin @beplus/cli-plugin-electron (beplus/desktop#26, which also removes the deprecated menu-bar app from that repository). The workflow installs it with the cli action's new BE_CLI_PLUGINS (#35). The history drops the three desktop-pack commits instead of reverting them. Callers' inputs don't change.

bepluscloud's beplus app released Mac, Windows (unsigned until Trusted Signing) and Linux from one tag. Mountaineer and MRKIT each carried a Mac-only copy of the release, about 215 lines, that differed only in names. .github/workflows/desktop-release.yml (workflow_call) takes those names as inputs:

  • app-dir, project, product, executable, tag-prefix
  • feed-url, release-role, release-bucket, s3-prefix, environment
  • signing-repo: the fastlane match store, default beplus/apple-signing; MRKIT's is mrkithq/apple-signing
  • which platforms: mac, windows (vars.BE_DESKTOP_WINDOWS: unset, unsigned or signed), linux (vars.BE_DESKTOP_LINUX: on)

Jobs:

  • plan checks the version against the tag and decides which platforms build.
  • build-mac builds with fastlane and the match store, checks codesign, spctl and the staple, runs beplus electron check mac (the fuses), and smoke-tests the app.
  • build-windows builds one NSIS installer for x64 and arm64. A signed pack goes through Trusted Signing; an unsigned pack is checked to name no publisher. It uploads what the check reads as windows-pack: both exes, the installer and latest.yml.
  • check-windows (new) runs beplus electron check win on ubuntu. be, which installs the CLI, has no Windows build, so the CLI can't be set up on the Windows runner. publish waits for this job, and a try runs it too.
  • build-linux builds a .deb and an AppImage for x64 and arm64 on ubuntu-22.04, writes the SHA256SUMS file, runs beplus electron check linux (with the .debs' insides), and smoke-tests both under Xvfb.
  • publish claims no environment, because the role trusts the tag's subject. It uploads the installers first and the manifests last, then reads the feed back.

The plugin's version is pinned once, at the top of the workflow: BE_ELECTRON_PLUGIN: "@beplus/cli-plugin-electron@0.1.0-next.1". A setup-beplus release moves it, so callers change nothing. The same plugin draws an app's icons (beplus electron icons), and beplus docs show electron is its guide.

Order.

  1. beplus/desktop#26: the plugin, published as 0.1.0-next.1 by its first merge into dev, and promoted to prod.
  2. feat(cli): BE_CLI_PLUGINS installs beplus CLI plugins at exact versions (BE-281) #35: BE_CLI_PLUGINS, tag v2.19.0, move v2.
  3. This PR: rebased onto main once feat(cli): BE_CLI_PLUGINS installs beplus CLI plugins at exact versions (BE-281) #35 is in, tried from Mountaineer and MRKIT, then tag v2.20.0 and move v2.

Commits. The README commit is the bot's. The workflow commit (7557cb3) is Igor's to push, with --force-with-lease, because the history was rewritten and the bot has no workflows permission.

Checked.

  • The workflow parses as YAML.
  • The commands it runs pass under the released CLI 2.40.1 on MRKIT's real packs (mac, win, linux --dir) and Mountaineer's (mac, win).
  • check win passes on exactly the four files windows-pack uploads.

A reusable workflow can't run locally. The first proof is Mountaineer's and MRKIT's Run workflow tries against this branch, once v2 holds BE_CLI_PLUGINS.

Callers: Mountaineer (ironmountain-cz/monorepo#654), MRKIT (mrkithq/monorepo#393), and bepluscloud later (its Terminal smoke needs a hook first).

beplus-agent-claude Bot and others added 3 commits November 22, 2026 22:50
…, once (BE-281)

Co-Authored-By: Igor Lamos <igor@be.plus>
…apple-signing)

Co-Authored-By: Igor Lamos <igor@be.plus>
…p app — Mac, Windows, Linux (BE-281)

bepluscloud released its desktop app for macOS, Windows (unsigned until Trusted
Signing) and Linux from one tag; Mountaineer and MRKIT carried Mac-only copies of
its first half that differed by names alone. desktop-release.yml takes those names
as inputs (app dir, project, product, executable, tag prefix, feed, release role,
bucket, prefix, environment, match store, which platforms) and runs plan,
build-mac, build-windows, build-linux and publish. Secrets go by name: inherit
passes nothing across organizations.

Co-Authored-By: Igor Lamos <igor@be.plus>
@beplus-agent-claude
beplus-agent-claude Bot marked this pull request as ready for review November 22, 2026 23:00
@beplus-agent-claude beplus-agent-claude Bot changed the title feat(desktop-release): one reusable release for every estate's desktop app — Mac, Windows, Linux (BE-281) feat(desktop-release, desktop-pack): one reusable release and one copy of the pack checks for every estate's desktop app (BE-281) Nov 22, 2026
@igorlamos igorlamos self-assigned this Nov 22, 2026
@beplus-agent-claude
beplus-agent-claude Bot marked this pull request as draft November 22, 2026 23:39
@beplus-agent-claude

Copy link
Copy Markdown
Contributor Author

On hold, do not merge: desktop-pack's logic moves into a beplus CLI plugin (no Node scripts in setup-beplus), which setup-beplus's CLI action will install. The session "Desktop pack as a beplus CLI plugin" will rewrite this PR. Back to draft until then.

@beplus-agent-claude beplus-agent-claude Bot changed the title feat(desktop-release, desktop-pack): one reusable release and one copy of the pack checks for every estate's desktop app (BE-281) feat(desktop-release): one reusable release for every estate's desktop app, its packs checked by beplus electron check (BE-281) Nov 23, 2026
beplus-agent-claude Bot and others added 2 commits November 23, 2026 19:09
… the plugin the cli action installs (BE-281)

Co-Authored-By: Igor Lamos <igor@be.plus>
…stalled through BE_CLI_PLUGINS; Windows' on ubuntu (BE-281)

The pack checks are @beplus/cli-plugin-electron (beplus/desktop), not Node scripts in this
repository. Mac and Linux install it with the cli action's BE_CLI_PLUGINS at the exact version the
workflow names (BE_ELECTRON_PLUGIN, 0.1.0) and run beplus electron check after the pack. be has no
Windows build, so build-windows hands both exes, the installer and latest.yml over as windows-pack,
and check-windows runs the check on ubuntu; publish waits for it. Callers change nothing.

Co-Authored-By: Igor Lamos <igor@be.plus>
@igorlamos
igorlamos force-pushed the claude/desktop-release branch from 3d1193b to 7557cb3 Compare November 23, 2026 19:14
@beplus-agent-claude
beplus-agent-claude Bot marked this pull request as ready for review November 23, 2026 20:34
@beplus-agent-claude

Copy link
Copy Markdown
Contributor Author

Tried through Mountaineer's caller: Desktop Release run https://github.com/ironmountain-cz/monorepo/actions/runs/45258894618 (claude/desktop-all-os-try → this branch at 7557cb3) is green: plan, build-windows, check-windows (beplus electron check win on ubuntu) and build-linux, with artifacts windows-try, windows-pack and linux-try. Ready to merge as v2.20.0.

@igorlamos
igorlamos merged commit 7910bd1 into main Nov 23, 2026
@igorlamos
igorlamos deleted the claude/desktop-release branch November 23, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant