mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-08-25 16:33:14 +00:00
docs: desktop release flow + widened Linux build targets
RELEASING.md: the desktop app is released manually under desktop-v<version> tags (build on macOS, gh release upload --clobber); no CI yet. DISTRIBUTION.md: document building deb/rpm and both arches from a macOS host, and that the rpm target needs 'brew install rpm' (rpmbuild) — it emits codeburn-desktop-<version>.x86_64.rpm, the name the website links.
This commit is contained in:
parent
dafe19e815
commit
b8db765fd1
2 changed files with 18 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
This document describes the actual steps a maintainer takes to cut a CLI or macOS menubar release. CLI releases are run by hand with `npm publish`; macOS menubar releases are automated by `.github/workflows/release-menubar.yml` when a `mac-v*` tag is pushed.
|
||||
|
||||
The Electron desktop app (`app/`) is not part of either flow yet — it has no version tag pattern or CI automation. See `app/DISTRIBUTION.md` for how to build and distribute it as an ad-hoc-signed, non-notarized macOS build.
|
||||
The Electron desktop app (`app/`) has no CI automation yet, but it is released manually under `desktop-v<version>` tags: build the artifacts on a macOS host (see `app/DISTRIBUTION.md`) and `gh release upload desktop-v<version> … --clobber` them onto the release. See `app/DISTRIBUTION.md` for how to build and distribute it as an ad-hoc-signed, non-notarized macOS build (plus unsigned Windows and Linux builds).
|
||||
|
||||
## Versioning
|
||||
|
||||
|
|
|
|||
|
|
@ -69,6 +69,23 @@ npm --prefix app run package:win # Windows NSIS installer, x64
|
|||
npm --prefix app run package:linux # Linux AppImage, x64
|
||||
```
|
||||
|
||||
The Linux targets and arches can be widened by calling `electron-builder`
|
||||
directly, all from the same macOS host:
|
||||
|
||||
```sh
|
||||
cd app
|
||||
npx electron-builder --linux AppImage deb # x64 AppImage + deb
|
||||
npx electron-builder --linux AppImage deb --x64 # force x64 on an arm64 mac
|
||||
npx electron-builder --linux AppImage deb --arm64
|
||||
npx electron-builder --linux rpm --x64 # rpm; needs `brew install rpm` (rpmbuild)
|
||||
```
|
||||
|
||||
The `rpm` target is the only one with an extra prerequisite — `fpm` (bundled by
|
||||
electron-builder) shells out to `rpmbuild`, so `brew install rpm` must be present
|
||||
or the build fails with "executable rpmbuild is required". It emits
|
||||
`codeburn-desktop-<version>.x86_64.rpm`, the name the website's Fedora/RHEL
|
||||
download links.
|
||||
|
||||
`package` runs `npm run stage-cli` (rebuilds the root CLI and stages the
|
||||
self-contained bundle into `app/build/cli`; see "The bundled CLI" above), then
|
||||
`npm run build` (compiles `electron/` with `tsc`, builds the renderer with
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue