Commit 53bd4e21 authored by jtc42's avatar jtc42
Browse files

Upgraded hash to SHA256

parent dbc9e394
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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"
}