Merge branch 'trunk' into android-debugging
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
erinn 2021-05-12 16:43:59 -07:00
commit cee15df7fa
1 changed files with 8 additions and 9 deletions

View File

@ -204,28 +204,27 @@ steps:
- name: build-windows
image: openpriv/flutter-desktop:windows-dev
commands:
- flutter pub get
- # TEMP comment out build to test completion
- #flutter build windows
#- flutter pub get
#- flutter build windows
# flwtch-`cat VERSION`-`cat BUILDDATE`
- $Env:buildname = 'flwtch-win-'
- $Env:buildname += type .\VERSION
- $Env:buildname += '-'
- $Env:buildname += type .\BUILDDATE
- $Env:builddir = 'deploy\flwtch-win-'
- $Env:builddir += $Env:buildname
- $Env:zip = $Env:buildname
- $Env:zip += '.zip'
- echo $Env:builddir
- echo $Env:zip
- $Env:sha = $Env:zip
- $Env:sha += '.sha512'
- mkdir deploy
#- move build\\windows\\runner\\Release $Env:builddir
- mkdir $Env:builddir
- powershell -command "Expand-Archive -Path tor.zip -DestinationPath $Env:builddir\Tor"
- powershell -command "Compress-Archive -Path $Env:builddir -DestinationPath $Env:zip"
- dir
- dir deploy
- move $Env:zip $Env:builddir
- powershell -command "(Get-FileHash *.zip -Algorithm sha512).Hash" > $Env:sha
- mkdir deploy\$Env:builddir
- move $Env:zip deploy\$Env:builddir
- move $Env:sha deploy\$Env:builddir
- dir deploy
- name: deploy-windows
image: openpriv/flutter-desktop:windows-sdk30-fdev2.2rc