mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
ci: package .zip source archives using LF newlines
Previously we provided a `.zip` archive with CRLF newlines and a `.tar.gz` archive with LF newlines. This is no longer consistent with modern conventions. Use LF newlines in both. Fixes: #25467
This commit is contained in:
@@ -509,7 +509,7 @@
|
||||
- v="$(.gitlab/ci/cmake_version.sh)"
|
||||
- mkdir -p build/
|
||||
- git archive --format=tgz --prefix="cmake-$v/" -o "build/cmake-$v.tar.gz" HEAD
|
||||
- git -c core.autocrlf=true -c core.eol=crlf archive --format=zip --prefix="cmake-$v/" -o "build/cmake-$v.zip" HEAD
|
||||
- git archive --format=zip --prefix="cmake-$v/" -o "build/cmake-$v.zip" HEAD
|
||||
|
||||
interruptible: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user