From c533580b705a736f6e75fabb2148811fb1791246 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Thu, 24 Jun 2021 00:26:43 -0700 Subject: [PATCH] drone windows hyper dumb --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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