feat(release): add deb packaging pipeline #1655
ClosedYougLin-dev(GitHub profile, opens in a new tab)wants to merge 2 commits into
main fromrefs/pull/1655/headopened View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelssize:L
github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched
- @@ -202,3 +207,4 @@202207 "release/*.dmg" \203208 "release/*.zip" \204209 "release/*.AppImage" \210+ "release/*.deb" \@@ -682,4 +816,18 @@682816 const stagePackageJsonString = yield* encodeJsonString(stagePackageJson);683817 yield* fs.writeFileString(path.join(stageAppDir, "package.json"), `${stagePackageJsonString}\n`);684818819+ const nodeGypShim = yield* createNodeGypShim(stageRoot, options.verbose);820+685821 yield* Effect.log("[desktop-artifact] Installing staged production dependencies...");822+ const buildEnv: NodeJS.ProcessEnv = {823+ ...process.env,824+ };825+ for (const [key, value] of Object.entries(buildEnv)) {826+ if (value === "") {827+ delete buildEnv[key];828+ }829+ }830+ if (nodeGypShim) {831+ buildEnv.PATH = [nodeGypShim.shimDir, buildEnv.PATH]832+ .filter(Boolean)833+ .join(process.platform === "win32" ? ";" : ":");
juliusmarminge closed this
Sign in to join this conversation.


Important
Review skipped#
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID:
1c404c4f-9d6f-4f6e-b957-b8bf9c90d166You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share