GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(release): add deb packaging pipeline by YougLin-dev · Pull Request #1655 · pingdotgg/t3code

Conversation

@YougLin-dev

@YougLin-dev YougLin-dev commented Apr 1, 2026 •
edited by cursor Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

What Changed

  • Added Linux .deb packaging to the desktop release flow.
  • Updated the GitHub release workflow to build, collect, and publish .deb artifacts alongside the existing desktop assets.
  • Added a dedicated local command for Debian packaging: bun run dist:desktop:deb.
  • Hardened the desktop artifact build script so staging installs no longer depend on a globally available node-gyp.
  • Added the Debian metadata required by electron-builder / fpm for .deb output.
  • Updated the marketing download surfaces to expose the new Linux .deb download option.
  • Updated release documentation to reflect the new release artifact set and Linux packaging behavior.

Why

  • We needed a first-class Debian package in addition to the existing AppImage output.
  • Local packaging was working, but CI/CD was not set up to produce and publish .deb assets.
  • The packaging flow was brittle because staging installs could fail when node-pty needed to rebuild without a resolvable node-gyp.
  • Debian packaging also requires metadata that was not previously present in the staged package config.
  • The download UI needed to reflect the new distribution option so users can actually discover and install it.

UI Changes

  • Added a new Linux download card for Debian / Ubuntu (.deb) on the /download page.
  • Updated the Linux homepage download CTA to fall back to .deb when an AppImage asset is not available.
  • No animation or interaction behavior changed.

Before:

  • Linux downloads exposed AppImage only.

After:

  • Linux downloads expose both AppImage and .deb.

Screenshots:

  • Attach before/after screenshots of the /download page showing the added .deb card.

Video:

  • Not applicable. There are no animation or interaction changes in this PR.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes (not applicable: no animation/interaction changes)

Note

Medium Risk
Changes the CI release matrix and desktop artifact build/staging process, which could break production release builds or dependency installation (notably native modules) across platforms. Limited runtime impact for users, but packaging/metadata changes for Linux releases need verification.

Overview
Adds first-class Linux .deb packaging to the desktop release workflow: CI now builds an additional Linux deb target, collects/publishes *.deb assets, and includes them in the GitHub Release upload set.

Extends local tooling and build staging to support .deb output by adding dist:desktop:deb, injecting Debian metadata (homepage, Linux maintainer) into the staged package.json, and hardening dependency installs via a generated node-gyp shim + cleaned env so staging no longer relies on a globally available node-gyp.

Updates marketing download surfaces to expose the new .deb option (new Linux download card on /download, and homepage Linux CTA falls back to .deb if no AppImage), and refreshes docs/release.md to document the new artifact set and that Linux auto-update remains AppImage-only.

Written by Cursor Bugbot for commit 8fbc65d. This will update automatically on new commits. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@YougLin-dev
feat(release): add deb packaging pipeline
705eea9
@coderabbitai

coderabbitai Bot commented Apr 1, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 1c404c4f-9d6f-4f6e-b957-b8bf9c90d166

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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
  • X
  • Mastodon
  • Reddit
  • LinkedIn

Comment @coderabbitai help to get the list of available commands and usage tips.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added size:L 100-499 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list. labels Apr 1, 2026
@YougLin-dev YougLin-dev mentioned this pull request Apr 1, 2026
[Feature Request] Add .deb package for Debian/Ubuntu users #298
Closed
cursor[bot]
cursor Bot reviewed Apr 1, 2026
View reviewed changes

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread .github/workflows/release.yml
"release/*.dmg" \
"release/*.zip" \
"release/*.AppImage" \
"release/*.deb" \

@cursor cursor Bot Apr 1, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate artifact name causes Linux build upload conflict

High Severity

The two new Linux matrix entries (Linux x64 AppImage and Linux x64 deb) both have platform: linux and arch: x64, so the artifact upload name desktop-${{ matrix.platform }}-${{ matrix.arch }} resolves to desktop-linux-x64 for both jobs. With actions/upload-artifact@v7, uploading a second artifact with the same name in the same workflow run results in a 409 Conflict error. The artifact name template needs to incorporate matrix.target to differentiate the two Linux builds.

Additional Locations (1)
  • .github/workflows/release.yml#L102-L107
Fix in Cursor Fix in Web

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread scripts/build-desktop-artifact.ts
if (nodeGypShim) {
buildEnv.PATH = [nodeGypShim.shimDir, buildEnv.PATH]
.filter(Boolean)
.join(process.platform === "win32" ? ";" : ":");

@cursor cursor Bot Apr 1, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Windows PATH key casing causes broken environment variable

Medium Severity

On Windows, spreading process.env into a plain object loses case-insensitivity — the path key is stored as Path, not PATH. Reading buildEnv.PATH returns undefined, so the assignment creates a new PATH key containing only nodeGypShim.shimDir, while Path (with the real system path) remains untouched. The resulting env object has both Path and PATH, leading to unpredictable behavior: the child process may lose the system path entirely, preventing bun and other tools from being found.

Fix in Cursor Fix in Web

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@YougLin-dev
Merge branch 'pingdotgg:main' into feat/deb-release-pipeline
8fbc65d
@LouisDeconinck

LouisDeconinck commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

What is the status on this?

KFlamsted and s3rbug reacted with eyes emoji
All reactions
  • 👀 2 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge mentioned this pull request Jun 10, 2026
Add Ubuntu deb release artifact #2474
Closed
2 of 4 tasks
@juliusmarminge ChatGPT Codex Connector

juliusmarminge commented Jun 19, 2026

Copy link
Copy Markdown
Member

Closing because the artifact-name collision remains unresolved, the release pipeline changed materially, and there has been no author follow-up.

This was closed as part of a large repo-wide maintenance sweep. If you think it's still relevant, please reopen.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge closed this Jun 19, 2026
@chukfinley chukfinley mentioned this pull request Jul 17, 2026
feat(release): publish Linux .deb and .rpm alongside the AppImage #4071
Closed
This was referenced Aug 6, 2026
feat(packaging): add deb and rpm desktop targets #5139
Closed
feat(release): publish the Linux .deb and .rpm from the release workflow bigpod98/t3code#1
Merged
bigpod98 pushed a commit to bigpod98/t3code that referenced this pull request Aug 6, 2026
@chukfinley
feat(release): publish the Linux .deb and .rpm from the release workflow
ab4f478
The packaging metadata in this branch is complete, but nothing builds or ships
the packages: the release matrix builds AppImage only, and the collect and
upload steps never mention .deb or .rpm.

Rather than add a matrix entry per format, the existing Linux entry now builds
`AppImage,deb,rpm` in one electron-builder run. A second entry would collide on
the upload artifact name -- `desktop-${platform}-${arch}` is identical for two
entries differing only by target, which is what sank pingdotgg#1655 -- while
artifactName's ${ext} already keeps the output files apart. One runner, one
artifact name, no extra release wall-clock.

`resolveLinuxTargets` splits the comma-separated target, and the deb/rpm config
sections plus the headless launcher now key off the resolved list rather than an
exact string match, so a combined build configures both formats.

Both `action-gh-release` blocks (first release and subsequent releases) carry
their own file list; both needed the new patterns, otherwise the packages build
and never ship.

electron-builder shells out to rpmbuild for the rpm target. The Ubuntu runner
image ships it in the `rpm` package (4.18.2 on 24.04), so the added step is a
no-op there; it installs the package only when the binary is missing.

Also adds the per-arch dist script variants (matching dist:desktop:dmg/win),
docs for both formats, download-page cards, and tests over the target split.
@t3dotgg t3dotgg mentioned this pull request Sep 25, 2026
feat(release): ship a Linux .deb that updates itself #13575
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@cursor cursor[bot] cursor[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:L 100-499 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@YougLin-dev @LouisDeconinck @juliusmarminge
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.