drone windows hyper dumb
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Dan Ballard 2021-06-24 00:50:33 -07:00
parent 126c68e185
commit 16ce38da75
1 changed files with 2 additions and 1 deletions

View File

@ -241,6 +241,7 @@ steps:
- $Env:releasedir = "build\\windows\\runner\\Release\\"
- echo $Env:releasedir
- echo $Env:builddir
- echo $Env:zip
- 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
@ -260,7 +261,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\$Env:zip"
- powershell -command "(Get-FileHash deploy\$Env:builddir\$Env:zip -Algorithm sha512).Hash" > deploy\$Env:builddir\$Env:sha
- name: deploy-windows