Upgraded hash to SHA256

This commit is contained in:
jtc42 2019-05-19 17:02:12 +01:00
parent dbc9e39473
commit 53bd4e21ca

View file

@ -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"
}