Skip to content

fix(ci): robustly anchor deb bundle path in Arch PKGBUILD#74

Merged
d0dg3r merged 1 commit intomainfrom
fix/arch-pkgbuild-startdir-path
Mar 24, 2026
Merged

fix(ci): robustly anchor deb bundle path in Arch PKGBUILD#74
d0dg3r merged 1 commit intomainfrom
fix/arch-pkgbuild-startdir-path

Conversation

@d0dg3r
Copy link
Owner

@d0dg3r d0dg3r commented Mar 24, 2026

makepkg executes the package() function within a created src/ subdirectory, meaning ../../../target evaluated incorrectly and missed the downloaded artifacts.

This commit anchors the search path to $startdir (provided by makepkg), pointing robustly at the workspace repository output.

- `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.
Copilot AI review requested due to automatic review settings March 24, 2026 19:18
@d0dg3r d0dg3r merged commit 25fd53e into main Mar 24, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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 PKGBUILD to "$startdir" so it resolves correctly under makepkg.
  • Bump apps/desktop package version from 0.1.0-beta.15 to 0.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",
Copy link

Copilot AI Mar 24, 2026

Choose a reason for hiding this comment

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

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.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants