From 96d9090b1d256bcc9db702c87f9174baad285f3f Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Fri, 25 Jun 2021 00:56:24 -0700 Subject: [PATCH] wow Get-FileHash is a truely garbage cmdlet --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 52bec68..81ffd8a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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