From 53bd4e21ca0a6c709564add385137d4a1dc30eb0 Mon Sep 17 00:00:00 2001 From: jtc42 Date: Sun, 19 May 2019 17:02:12 +0100 Subject: [PATCH] Upgraded hash to SHA256 --- app/make-nupkg.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/make-nupkg.sh b/app/make-nupkg.sh index 4d47a9c0..5c01e136 100644 --- a/app/make-nupkg.sh +++ b/app/make-nupkg.sh @@ -7,8 +7,8 @@ packagePath="$(dirname "$scriptPath")" packageJson="$packagePath/package.json" installerPath="$packagePath/openflexure-ev-win.exe" -installerMd5=`md5sum ${installerPath} | awk '{ print $1 }'` -echo "$installerMd5" +installerHash=`sha256sum ${installerPath} | awk '{ print $1 }'` +echo "$installerHash" outpath="$packagePath/release-builds/choco" toolspath="$outpath/tools" @@ -92,8 +92,8 @@ cat > "$toolspath/chocolateyInstall.ps1" <<- EOL softwareName = "OpenFlexure eV" - checksum = "${installerMd5}" - checksumType = "md5" + checksum = "${installerHash}" + checksumType = "sha256" silentArgs = "/S" }