diff --git a/CHANGELOG.md b/CHANGELOG.md index bcfd4b414..92422f861 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,14 @@ What changed in each release of LLeMbas TTY. WezTerm's own changes are in `docs/changelog.md`, as upstream keeps them. +## Unreleased + +### Fixed + +- The `.deb` file is named by the version as written (`llembas-tty_1.0.0-beta.2_amd64.deb`). In + 1.0.0-beta.1 its name carried Debian's `~`, which a forge's upload turns into a dot, so the + release's `SHA256SUMS` named a file that was not there under that name. + ## 1.0.0-beta.1 — 2026-12-02 ### Added diff --git a/llembas/packaging/package.sh b/llembas/packaging/package.sh index 24f277487..4412b5585 100755 --- a/llembas/packaging/package.sh +++ b/llembas/packaging/package.sh @@ -101,7 +101,9 @@ Description: A terminal with LLeMbas built in It installs beside WezTerm and shares nothing with it. CONTROL echo "/etc/profile.d/llembas-tty.sh" > "$root/DEBIAN/conffiles" -dpkg-deb --root-owner-group -b "$root" "$OUT/llembas-tty_${debver}_${ARCH}.deb" >/dev/null +# The file is named by the version as written (a dash): a forge's upload turns ~ into a dot, and +# SHA256SUMS would then name a file that is not there. The package's own Version keeps the ~. +dpkg-deb --root-owner-group -b "$root" "$OUT/llembas-tty_${VERSION}_${ARCH}.deb" >/dev/null base="${VERSION%%-*}" if [ "$VERSION" != "$base" ]; then dpkg --compare-versions "$debver" lt "$base" || { echo "package: $debver does not sort below $base" >&2; exit 1; }