Merge branch 'trunk' of git.openprivacy.ca:flutter/flutter_app into erinnfixes

This commit is contained in:
erinn 2021-05-12 16:48:35 -07:00
commit 537f1b596b
1 changed files with 4 additions and 5 deletions

View File

@ -204,20 +204,19 @@ steps:
- name: build-windows
image: openpriv/flutter-desktop:windows-dev
commands:
#- flutter pub get
#- 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 += $Env:buildname
- $Env:zip = $Env:buildname
- $Env:zip += '.zip'
- $Env:zip = flwtch.zip
- $Env:sha = $Env:zip
- $Env:sha += '.sha512'
- mkdir deploy
#- move build\\windows\\runner\\Release $Env:builddir
- 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"