fix hash path

This commit is contained in:
Samuele Locatelli
2021-04-15 20:11:54 +02:00
parent b98c484499
commit 39bbfb0320
+4 -4
View File
@@ -59,10 +59,10 @@ variables:
$Target = "Releases\" + $CI_COMMIT_BRANCH + "\" + $env:APP_NAME + ".zip"
$MD5 = Get-FileHash $Target -Algorithm MD5
$SHA1 = Get-FileHash $Target -Algorithm SHA1
New-Item $Target+".md5"
New-Item $Target+".sha1"
$MD5.Hash | Set-Content -Path $Target+".md5"
$SHA1.Hash | Set-Content -Path $Target+".sha1"
New-Item $Target.md5
New-Item $Target.sha1
$MD5.Hash | Set-Content -Path $Target.md5
$SHA1.Hash | Set-Content -Path $Target.sha1
echo "Created HASH files for $Target"