mirror of
https://github.com/borgbackup/borg.git
synced 2026-10-12 02:11:36 +00:00
The 2.0.0b23 Windows binaries call themselves "2.0.0b24.dev0+g116435fa4.d20260823": actions/checkout runs Git for Windows, whose system config sets core.autocrlf=true, so the worktree gets CRLF line endings. The msys2 git the build steps use does not set it, thus sees every text file as modified, and setuptools-scm builds a guessed-next .devN version instead of the version of the tag. - .gitattributes: store and check out text files with LF everywhere. logo.pdf has no NUL byte within the first 8000 bytes, so git would auto-detect it as text - it needs an explicit -text. - ci.yml: also switch core.autocrlf off before checkout, so that building an older tag (which has no such .gitattributes) works, too. - release.yml: refuse to publish a sdist that is not the tag version. Co-Authored-By: Claude Opus 5 <[email protected]>