drone windows final
This commit is contained in:
parent
38cced389a
commit
3667a5ee6e
14
.drone.yml
14
.drone.yml
|
@ -205,27 +205,21 @@ steps:
|
||||||
image: openpriv/flutter-desktop:windows-dev
|
image: openpriv/flutter-desktop:windows-dev
|
||||||
commands:
|
commands:
|
||||||
- flutter pub get
|
- flutter pub get
|
||||||
- # TEMP comment out build to test completion
|
- flutter build windows
|
||||||
- #flutter build windows
|
|
||||||
# flwtch-`cat VERSION`-`cat BUILDDATE`
|
# flwtch-`cat VERSION`-`cat BUILDDATE`
|
||||||
- $Env:buildname = 'flwtch-win-'
|
- $Env:buildname = 'flwtch-win-'
|
||||||
- $Env:buildname += type .\VERSION
|
- $Env:buildname += type .\VERSION
|
||||||
- $Env:buildname += '-'
|
- $Env:buildname += '-'
|
||||||
- $Env:buildname += type .\BUILDDATE
|
- $Env:buildname += type .\BUILDDATE
|
||||||
- $Env:builddir = 'deploy\flwtch-win-'
|
|
||||||
- $Env:builddir += $Env:buildname
|
- $Env:builddir += $Env:buildname
|
||||||
- $Env:zip = $Env:buildname
|
- $Env:zip = $Env:buildname
|
||||||
- $Env:zip += '.zip'
|
- $Env:zip += '.zip'
|
||||||
- echo $Env:builddir
|
|
||||||
- echo $Env:zip
|
|
||||||
- mkdir deploy
|
- 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 "Expand-Archive -Path tor.zip -DestinationPath $Env:builddir\Tor"
|
||||||
- powershell -command "Compress-Archive -Path $Env:builddir -DestinationPath $Env:zip"
|
- powershell -command "Compress-Archive -Path $Env:builddir -DestinationPath $Env:zip"
|
||||||
- dir
|
- powershell -command "(Get-FileHash tor.zip -Algorithm sha512).Hash > deploy\$Env:zip.sha512"
|
||||||
- dir deploy
|
- move $Env:zip deploy
|
||||||
- move $Env:zip $Env:builddir
|
|
||||||
- dir deploy
|
- dir deploy
|
||||||
- name: deploy-windows
|
- name: deploy-windows
|
||||||
image: openpriv/flutter-desktop:windows-sdk30-fdev2.2rc
|
image: openpriv/flutter-desktop:windows-sdk30-fdev2.2rc
|
||||||
|
|
Loading…
Reference in New Issue