diff --git a/.drone.yml b/.drone.yml index abeb270..f6c3a52 100644 --- a/.drone.yml +++ b/.drone.yml @@ -240,6 +240,7 @@ steps: - $Env:msixsha = $Env:msix + '.sha512' - $Env:releasedir = "build\\windows\\runner\\Release\\" - echo $Env:releasedir + - echo $Env:builddir - flutter build windows --dart-define BUILD_VER=$Env:version --dart-define BUILD_DATE=$Env:builddate - copy windows\libCwtch.dll $Env:releasedir # flutter hasn't worked out it's packaging of required dll's so we have to resort to this manual nonsense @@ -259,7 +260,7 @@ steps: - powershell -command "move $Env:releasedir\cwtch.msix deploy\$Env:builddir\$Env:msix" - move $Env:releasedir $Env:builddir - powershell -command "Compress-Archive -Path $Env:builddir -DestinationPath $Env:zip" - - powershell -command "move $Env:zip 'deploy\\' + $Env:builddir" + - powershell -command "move $Env:zip deploy\$Env:builddir\" - powershell -command "(Get-FileHash deploy\$Env:builddir\$Env:zip -Algorithm sha512).Hash" > deploy\$Env:builddir\$Env:sha - name: deploy-windows