mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-21 21:17:06 +08:00
* [PM-39427] Add desktop beta build artifacts Mirrors the extension PR's config-loader change on the desktop side so CHANNEL=beta merges beta.json (prereleaseBuild: true) on top of the prod config. Retools the windows-beta job and adds a new macos-beta job to produce beta build artifacts alongside the existing prod ones. - config/beta.json + config/config.js: channel argument on load() - webpack.base.js: passes process.env.CHANNEL to the config loader - electron-builder.beta.json: adds mac + dmg blocks (mirrors prod mac; explicit Bitwarden- artifactName so productName's "Bitwarden Beta" doesn't leak into filenames) - package.json: pack:mac:beta script - build-desktop.yml windows-beta job: appends -beta to apps/desktop/src/package.json version before packaging (so electron-updater emits beta.yml directly rather than latest-beta.yml via the old rename hack); CHANNEL=beta on Build; artifact paths updated to the -beta-suffixed version; the latest.yml -> latest-beta.yml rename is dropped - build-desktop.yml: new macos-beta job (mirrors macos-package-github's setup, no Safari), uploads Bitwarden-<version>-beta-universal-mac.zip, .dmg, and beta-mac.yml * [PM-39427] Fix codesign call for productNames with spaces after-pack.js was building the codesign command as a template string and letting the shell parse it, which broke on the beta productName "Bitwarden Beta" (space in the path). Wrap the entitlements and proxy paths in double quotes so the shell treats them as one argument. Also swap the hardcoded "com.bitwarden.desktop" packageId for context.packager.appInfo.id so the codesigned proxy binary carries the correct identifier (com.bitwarden.desktop.beta on beta builds). Both are no-ops for prod. |
||
|---|---|---|
| .. | ||
| DISCUSSION_TEMPLATE | ||
| ISSUE_TEMPLATE | ||
| workflows | ||
| codecov.yml | ||
| CODEOWNERS | ||
| platform-community-paths.yml | ||
| PULL_REQUEST_TEMPLATE.md | ||
| renovate.json5 | ||
| whitelist-capital-letters.txt | ||