mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-09-13 05:38:05 -04:00
The snapshot component is date plus the number of commits since version.txt last changed, so every build of the same tip on the same day produces the same version string. The repo operator reports 96% of version+dist pairs published more than once, and 1.39.34~20260912.22-bookworm1 uploaded six times in about half an hour, each upload overwriting the last with different bytes. Nothing on the repo server can close that. Reindexing shrinks the window but a client that read Packages before a republish and fetched the .deb after it still gets a hash mismatch, because the version no longer identifies the content. Append GITHUB_RUN_ID and GITHUB_RUN_ATTEMPT, which are unique per build and never reused. Outside Actions the string is unchanged, so a local build still produces the version it always did. Checked that the longer string still sorts after the versions already published and before the next version.txt bump, with dpkg --compare-versions and rpm.vercmp. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UkQwahn9pi1y4wJe9BTxjM