• Andy Wilkinson's avatar
    Use line endings on all OSs when writing image config JSON · 0a9fe654
    Andy Wilkinson authored
    Previously \r\n was used on Windows and \n was used on other
    platforms. This resulted in different JSON content being written to
    the archive. As the config's entry name is the SHA-256 hash of its
    content, it also resulted in the entry name being different.
    
    This commit updates the JSON that's written into the archive to use
    \n line endings, irrespective of the OS on which the image is being
    built.
    
    See gh-19828
    0a9fe654
Name
Last commit
Last update
.github Loading commit data...
buildSrc Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
git/hooks Loading commit data...
gradle Loading commit data...
idea Loading commit data...
spring-boot-project Loading commit data...
spring-boot-tests Loading commit data...
src/checkstyle Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
build.gradle Loading commit data...
gradle.properties Loading commit data...
gradlew Loading commit data...
gradlew.bat Loading commit data...
settings.gradle Loading commit data...