diff --git a/build/azure-pipelines/darwin/product-build-darwin.yml b/build/azure-pipelines/darwin/product-build-darwin.yml index 97de15d0fd63b3a8671eeceff89bf1889e5e2f71..196ee25127d9d9cfcd0e1ff6c5b9e32b95b4b182 100644 --- a/build/azure-pipelines/darwin/product-build-darwin.yml +++ b/build/azure-pipelines/darwin/product-build-darwin.yml @@ -1,7 +1,7 @@ steps: - script: | mkdir -p .build - echo $BUILD_SOURCEVERSION > .build/commit + echo -n $BUILD_SOURCEVERSION > .build/commit displayName: Prepare cache flag - task: 1ESLighthouseEng.PipelineArtifactCaching.RestoreCacheV1.RestoreCache@1 diff --git a/build/azure-pipelines/linux/product-build-linux-alpine.yml b/build/azure-pipelines/linux/product-build-linux-alpine.yml index e9efbfa847caa427b3d5724d788aca0003ab041d..5217877d73313bb822ce9a61efbbe00815972469 100644 --- a/build/azure-pipelines/linux/product-build-linux-alpine.yml +++ b/build/azure-pipelines/linux/product-build-linux-alpine.yml @@ -1,7 +1,7 @@ steps: - script: | mkdir -p .build - echo $BUILD_SOURCEVERSION > .build/commit + echo -n $BUILD_SOURCEVERSION > .build/commit displayName: Prepare cache flag - task: 1ESLighthouseEng.PipelineArtifactCaching.RestoreCacheV1.RestoreCache@1 diff --git a/build/azure-pipelines/linux/product-build-linux-arm.yml b/build/azure-pipelines/linux/product-build-linux-arm.yml index 61d3213a200c169f070236955e8c68728420aade..d5de8517abc43ed0afd3be530079f506048df064 100644 --- a/build/azure-pipelines/linux/product-build-linux-arm.yml +++ b/build/azure-pipelines/linux/product-build-linux-arm.yml @@ -1,7 +1,7 @@ steps: - script: | mkdir -p .build - echo $BUILD_SOURCEVERSION > .build/commit + echo -n $BUILD_SOURCEVERSION > .build/commit displayName: Prepare cache flag - task: 1ESLighthouseEng.PipelineArtifactCaching.RestoreCacheV1.RestoreCache@1 diff --git a/build/azure-pipelines/linux/product-build-linux.yml b/build/azure-pipelines/linux/product-build-linux.yml index 5156429dbd4c5aaf77d891ecbb41b0bb8311f6a4..d56ee2d3c65d7f2cadbbe285ff9c265c04a5b621 100644 --- a/build/azure-pipelines/linux/product-build-linux.yml +++ b/build/azure-pipelines/linux/product-build-linux.yml @@ -1,7 +1,7 @@ steps: - script: | mkdir -p .build - echo $BUILD_SOURCEVERSION > .build/commit + echo -n $BUILD_SOURCEVERSION > .build/commit displayName: Prepare cache flag - task: 1ESLighthouseEng.PipelineArtifactCaching.RestoreCacheV1.RestoreCache@1 diff --git a/build/azure-pipelines/product-compile.yml b/build/azure-pipelines/product-compile.yml index a78c9ed8eeaee196887b66d803ea01b6538f7db5..9ac2225c5693b770921e08a83e36bcf97022c2aa 100644 --- a/build/azure-pipelines/product-compile.yml +++ b/build/azure-pipelines/product-compile.yml @@ -1,7 +1,7 @@ steps: - script: | mkdir -p .build - echo $BUILD_SOURCEVERSION > .build/commit + echo -n $BUILD_SOURCEVERSION > .build/commit displayName: Prepare cache flag - task: 1ESLighthouseEng.PipelineArtifactCaching.RestoreCacheV1.RestoreCache@1 diff --git a/build/azure-pipelines/win32/product-build-win32.yml b/build/azure-pipelines/win32/product-build-win32.yml index a26696659a59be534b2f79e4b63c27e468b5076f..bd6d6d6a1f6ceff27643baf0f230a1d8e1d21743 100644 --- a/build/azure-pipelines/win32/product-build-win32.yml +++ b/build/azure-pipelines/win32/product-build-win32.yml @@ -1,7 +1,7 @@ steps: - powershell: | mkdir .build -ea 0 - "$env:BUILD_SOURCEVERSION`n" | Out-File -NoNewLine .build\commit + "$env:BUILD_SOURCEVERSION" | Out-File -Encoding ascii -NoNewLine .build\commit displayName: Prepare cache flag - task: 1ESLighthouseEng.PipelineArtifactCaching.RestoreCacheV1.RestoreCache@1