mirror of
https://github.com/ratspeak/rsReticulum
synced 2026-11-27 13:52:16 +00:00
release: preserve committed documentation bytes in archives
This commit is contained in:
1 parent
6a425e8d5a
commit
799e946ac9
1 file changed
+4
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user