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

This commit is contained in:
Dan Ballard 2021-06-24 00:26:43 -07:00
parent ca303ba41c
commit c533580b70
1 changed files with 2 additions and 1 deletions

View File

@ -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