From ee155a40ccf31a8dc76b00f376766a676431b5d1 Mon Sep 17 00:00:00 2001 From: Harish Kulkarni Date: Mon, 15 Jul 2019 13:48:07 -0700 Subject: [PATCH 1/2] Fixed behavior of UpdateSHA --- .../SciSharp.TensorFlow.Redist.nupkgproj | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/SciSharp.TensorFlow.Redist/SciSharp.TensorFlow.Redist.nupkgproj b/src/SciSharp.TensorFlow.Redist/SciSharp.TensorFlow.Redist.nupkgproj index 79eaa564..0c066b01 100644 --- a/src/SciSharp.TensorFlow.Redist/SciSharp.TensorFlow.Redist.nupkgproj +++ b/src/SciSharp.TensorFlow.Redist/SciSharp.TensorFlow.Redist.nupkgproj @@ -102,27 +102,26 @@ ItemName="FilesWithHashes" /> - + + + + @(FilesWithHashes->'%(FileHash)') - $([System.IO.File]::ReadAllText('%(LocalShaFile)')) + $([System.IO.File]::ReadAllText('%(LocalShaFile)').Replace("%0A", "")) - - - - + From f0c318621adfbd1566043228649d6425b8c83d39 Mon Sep 17 00:00:00 2001 From: "Harish S. Kulkarni" Date: Mon, 15 Jul 2019 13:59:54 -0700 Subject: [PATCH 2/2] Fixed compare bug on Windows --- .../SciSharp.TensorFlow.Redist.nupkgproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SciSharp.TensorFlow.Redist/SciSharp.TensorFlow.Redist.nupkgproj b/src/SciSharp.TensorFlow.Redist/SciSharp.TensorFlow.Redist.nupkgproj index 0c066b01..a0ca0a0a 100644 --- a/src/SciSharp.TensorFlow.Redist/SciSharp.TensorFlow.Redist.nupkgproj +++ b/src/SciSharp.TensorFlow.Redist/SciSharp.TensorFlow.Redist.nupkgproj @@ -112,7 +112,7 @@ @(FilesWithHashes->'%(FileHash)') - $([System.IO.File]::ReadAllText('%(LocalShaFile)').Replace("%0A", "")) + $([System.IO.File]::ReadAllText('%(LocalShaFile)').Replace("%0A", "").Replace("%0D", ""))