mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-28 09:58:53 -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
|
||||
|
||||
|
||||
6
Help/release/dev/rel-zip-newlines.rst
Normal file
6
Help/release/dev/rel-zip-newlines.rst
Normal file
@@ -0,0 +1,6 @@
|
||||
rel-zip-newlines
|
||||
----------------
|
||||
|
||||
* The official ``.zip`` source archive provided on
|
||||
`cmake.org <https://cmake.org/download/>`_ now uses LF newlines,
|
||||
instead of CRLF newlines, for consistency with modern conventions.
|
||||
Reference in New Issue
Block a user