Skip to content

Commit ac64d76

Browse files
flound1129claude
andcommitted
ci(deb): include codename in version to avoid reprepro shared-pool conflicts
trixie and noble packages contain different compiled venv binaries (rencode C extension differs between distros). Reprepro's pool is shared across all codenames, so same-named files with different checksums are rejected. Fix: inject distro codename into the version (e.g. 2.2.1~dev0+trixie.EPOCH-1) so each distro's packages land in a distinct pool path. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 3abe111 commit ac64d76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/deb.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,11 @@ jobs:
6464
- name: Inject build version
6565
env:
6666
EPOCH: ${{ needs.setup.outputs.epoch }}
67+
CODENAME: ${{ matrix.version }}
6768
run: |
6869
PKG_VER=$(dpkg-parsechangelog -S Version)
6970
BASE_VER="${PKG_VER%-*}"
70-
NEW_VER="${BASE_VER}+${EPOCH}-1"
71+
NEW_VER="${BASE_VER}+${CODENAME}.${EPOCH}-1"
7172
sed -i "1s/${PKG_VER}/${NEW_VER}/" debian/changelog
7273
7374
- name: Build packages

0 commit comments

Comments
 (0)