release: preserve committed documentation bytes in archives

This commit is contained in:
DeFiDude committed 2026-10-12 16:09:39 -06:00
1 parent 6a425e8d5a
commit 799e946ac9
1 file changed
+4 -1
+4 -1
View File
@@ -105,7 +105,10 @@ jobs:
cp "target/release/${bin}" "dist/${PACKAGE_ROOT}/bin/${bin}"
fi
done
cp README.md LICENSE CHANGELOG.md "dist/${PACKAGE_ROOT}/"
# Read blobs directly so Windows checkout line endings cannot alter the package.
for doc in README.md LICENSE CHANGELOG.md; do
git show "HEAD:${doc}" > "dist/${PACKAGE_ROOT}/${doc}"
done
- name: Create tar archive
if: runner.os != 'Windows'
shell: bash