Skip to content
This repository was archived by the owner on Feb 15, 2026. It is now read-only.

Comments

fix: explicitly save output directory and add build diagnostics#47

Merged
mairas merged 1 commit intomainfrom
fix/build-output-path
Nov 22, 2025
Merged

fix: explicitly save output directory and add build diagnostics#47
mairas merged 1 commit intomainfrom
fix/build-output-path

Conversation

@mairas
Copy link
Contributor

@mairas mairas commented Nov 22, 2025

Summary

Fix the build-deb function to properly move packages to the output directory.

Changes

  1. Save OUTPUT_DIR="$PWD" before changing directories (instead of relying on $OLDPWD)
  2. Add diagnostic output to help debug build issues
  3. Show warnings instead of silently ignoring failures

Test plan

  • Local build succeeds and packages appear in project directory
  • CI build succeeds

🤖 Generated with Claude Code

The previous build-deb function relied on $OLDPWD which may not work
correctly in all environments. This fix:

1. Explicitly saves OUTPUT_DIR before changing directories
2. Adds diagnostic output showing build area and output paths
3. Shows what packages were built before moving them
4. Verifies files exist after moving them
5. Provides warnings instead of silently ignoring failures

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@mairas mairas merged commit 7ecbfb4 into main Nov 22, 2025
1 check passed
@mairas mairas deleted the fix/build-output-path branch November 22, 2025 10:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant