switch file hashes from MD5 to SHA256

This commit is contained in:
Benjamin Staneck
2017-04-07 06:57:16 +02:00
parent bee82d00e8
commit aa2eaa6886
2 changed files with 14 additions and 14 deletions

View File

@ -53,6 +53,6 @@ $version = Invoke-Expression "git describe --abbrev=0 --tags"
foreach ($t in $targets.GetEnumerator()) {
Create-Archive $cmderRoot "$saveTo\$($t.Name)" $t.Value
$hash = (Digest-MD5 "$saveTo\$($t.Name)")
$hash = (Digest-Hash "$saveTo\$($t.Name)")
Add-Content "$saveTo\hashes.txt" $hash
}