wow Get-FileHash is a truely garbage cmdlet
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Dan Ballard 2021-06-25 00:56:24 -07:00
parent ca58e063b6
commit 96d9090b1d
1 changed files with 3 additions and 3 deletions

View File

@ -75,9 +75,9 @@ steps:
- mkdir deploy\$Env:builddir
- dir deploy
- move $Env:releasedir $Env:builddir
- powershell -command "Compress-Archive -Path $Env:builddir -DestinationPath $Env:zip"
- powershell -command "(Get-FileHash $Env:zip -Algorithm sha512).Hash" > $Env:zipsha
- move $Env:zip deploy\$Env:builddir
- powershell -command "Compress-Archive -Path $Env:builddir -DestinationPath cwtch.zip"
- powershell -command "(Get-FileHash cwtch.zip -Algorithm sha512).Hash" > $Env:zipsha
- move cwtch.zip deploy\$Env:builddir\$Env:zip
- move $Env:zipsha deploy\$Env:builddir