From b0315c83dcb043c02b3a78cfcccd1746cc886eac Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 1 Apr 2024 10:53:11 -0400 Subject: 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 --- .gitlab/os-linux.yml | 2 +- Help/release/dev/rel-zip-newlines.rst | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 Help/release/dev/rel-zip-newlines.rst diff --git a/.gitlab/os-linux.yml b/.gitlab/os-linux.yml index daf149a..5710715 100644 --- a/.gitlab/os-linux.yml +++ b/.gitlab/os-linux.yml @@ -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 diff --git a/Help/release/dev/rel-zip-newlines.rst b/Help/release/dev/rel-zip-newlines.rst new file mode 100644 index 0000000..43de464 --- /dev/null +++ b/Help/release/dev/rel-zip-newlines.rst @@ -0,0 +1,6 @@ +rel-zip-newlines +---------------- + +* The official ``.zip`` source archive provided on + `cmake.org `_ now uses LF newlines, + instead of CRLF newlines, for consistency with modern conventions. -- cgit v0.12