fix(ci): robustly anchor deb bundle path in Arch PKGBUILD#74
Conversation
- `makepkg` runs `package()` within a `src/` subdirectory, breaking the `../../../target` relative path lookup. - Anchored the path search strictly using the `$startdir` environment variable instead. - Bumped version to 0.1.0-beta.16 to run validation.
There was a problem hiding this comment.
Pull request overview
This PR fixes Arch Linux packaging in CI by making the PKGBUILD locate the pre-built Debian bundle using an anchored path, avoiding failures caused by makepkg running package() from a src/ subdirectory.
Changes:
- Anchor the DEB bundle search path in
PKGBUILDto"$startdir"so it resolves correctly undermakepkg. - Bump
apps/desktoppackage version from0.1.0-beta.15to0.1.0-beta.16.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| apps/desktop/src-tauri/PKGBUILD | Uses $startdir to reliably locate target/release/bundle/deb when package() runs under src/. |
| apps/desktop/package.json | Updates the desktop app npm package version. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| { | ||
| "name": "desktop", | ||
| "version": "0.1.0-beta.15", | ||
| "version": "0.1.0-beta.16", |
There was a problem hiding this comment.
The PR description/title focus on the Arch PKGBUILD path fix, but this also bumps apps/desktop/package.json from 0.1.0-beta.15 → beta.16. If this version bump is intentional, it should be kept in sync with apps/desktop/src-tauri/tauri.conf.json and apps/desktop/src-tauri/Cargo.toml (docs/releases.md describes this), otherwise please revert the version change to avoid drift.
makepkgexecutes thepackage()function within a createdsrc/subdirectory, meaning../../../targetevaluated incorrectly and missed the downloaded artifacts.This commit anchors the search path to
$startdir(provided by makepkg), pointing robustly at the workspace repository output.