pdfcraft/packaging/linux
bmh129 13fbb2f6fb
M0: label local builds in --version, About and the package release (#1529)
A build compiled with PDFCRAFT_BUILD_LABEL=<label> shows "0.7.1 (<label>)"
in `pdfcraft --version`, `pdfcraft-cli --version`, Help > About and the
first log line (pdfcraft_engine::build_info). The version itself is
unchanged, so the update check, the MCP server info and the User-Agent
still carry the release version.

packaging/linux/package.sh puts the label in the file names
(pdfcraft-0.7.1-<label>-linux-x86_64.rpm) and makes the .rpm/.deb release
`1.<label>` (nfpm `release: ${RELEASE}`, 1 when unlabelled). rpm sorts
0.7.1-1.<label> after 0.7.1-1 and before 0.7.2-1, so a locally built
package upgrades over the installed release and the next release replaces
it. packaging/env.sh accepts only letters, digits and inner dots, which
are valid in both rpm and deb release fields.

Unlabelled builds are unchanged.

Made with Claude Code (Claude Opus 5.5, medium effort). It passes the
workspace quality gates (fmt, clippy, cargo test --workspace, xtask assets)
and was checked by hand on Fedora 44, but it has not been exhaustively
regression tested.

Co-authored-by: bmh129 <11478682+bmh129@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 00:07:32 -04:00
..
flatpak Refs #103: ship the OCR models in the desktop release packages (#630) 2026-10-09 18:42:23 -04:00
ai.storyteller.pdfcraft.desktop Linux: StartupWMClass is the window's app id (#1087) 2026-10-11 12:02:18 -04:00
ai.storyteller.pdfcraft.metainfo.xml.in Rename PrintCraft to PdfCraft (#174) 2026-10-07 16:03:57 -04:00
ai.storyteller.pdfcraft.mime.xml Rename PrintCraft to PdfCraft (#174) 2026-10-07 16:03:57 -04:00
flatpak-bundle.sh Refs #103: ship the OCR models in the desktop release packages (#630) 2026-10-09 18:42:23 -04:00
nfpm.yaml M0: label local builds in --version, About and the package release (#1529) 2026-10-13 00:07:32 -04:00
package.sh M0: label local builds in --version, About and the package release (#1529) 2026-10-13 00:07:32 -04:00
postinst.sh Signed release pipeline (macOS/Windows/Linux/Web); README community note 2026-10-02 12:06:19 -04:00