drone windows zip
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Dan Ballard 2021-05-12 15:23:39 -07:00
parent 769996bcf4
commit 57f88cc718
1 changed files with 9 additions and 4 deletions

View File

@ -207,17 +207,22 @@ steps:
- 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 += type .\VERSION
- $Env:builddir += '-'
- $Env:builddir += type .\BUILDDATE
- $Env:zip = $Env:builddir
- $Env:builddir += $Env:buildname
- $Env:zip = $Env:buildname
- $Env:zip += '.zip'
- echo $Env:builddir
- echo $Env:zip
- mkdir deploy
- move build\\windows\\runner\\Release $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
- dir deploy
- name: deploy-windows