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

Comments

fix(ci): fix build-deb function for shared-workflows compatibility#40

Merged
mairas merged 1 commit intomainfrom
fix/build-deb-release-version
Nov 21, 2025
Merged

fix(ci): fix build-deb function for shared-workflows compatibility#40
mairas merged 1 commit intomainfrom
fix/build-deb-release-version

Conversation

@mairas
Copy link
Contributor

@mairas mairas commented Nov 21, 2025

Summary

Fix the build-deb function which was calling non-existent release-version function.

Problem

The main branch CI/CD workflow failed because build-deb calls:

export PACKAGE_VERSION=$(release-version)

But release-version doesn't exist in the run script.

Solution

Modified build-deb to:

  • Check if debian/changelog was recently generated (within 5 minutes, indicating CI shared-workflows created it)
  • If recent: skip changelog regeneration and just run dpkg-buildpackage
  • For local builds (changelog > 5 min old): generate changelog using VERSION file instead of missing release-version

Test plan

  • PR checks pass
  • After merge, main branch workflow succeeds

🤖 Generated with Claude Code

The build-deb function was calling non-existent release-version function.

Changes:
- Check if debian/changelog was recently generated (within 5 minutes)
- If recent (CI generated): skip changelog regeneration, just run dpkg-buildpackage
- For local builds: use VERSION file instead of missing release-version

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

Co-Authored-By: Claude <noreply@anthropic.com>
@mairas mairas merged commit a01511d into main Nov 21, 2025
1 check passed
@mairas mairas deleted the fix/build-deb-release-version branch November 21, 2025 23:08
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