drone window syntax final for real hopefully
This commit is contained in:
parent
eb1b4bc46f
commit
3d4c861970
|
@ -204,20 +204,19 @@ steps:
|
||||||
- name: build-windows
|
- name: build-windows
|
||||||
image: openpriv/flutter-desktop:windows-dev
|
image: openpriv/flutter-desktop:windows-dev
|
||||||
commands:
|
commands:
|
||||||
#- flutter pub get
|
- flutter pub get
|
||||||
#- 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 += $Env:buildname
|
- $Env:builddir += $Env:buildname
|
||||||
- $Env:zip = $Env:buildname
|
- $Env:zip = flwtch.zip
|
||||||
- $Env:zip += '.zip'
|
|
||||||
- $Env:sha = $Env:zip
|
- $Env:sha = $Env:zip
|
||||||
- $Env:sha += '.sha512'
|
- $Env:sha += '.sha512'
|
||||||
- mkdir deploy
|
- mkdir deploy
|
||||||
#- move build\\windows\\runner\\Release $Env:builddir
|
- move build\\windows\\runner\\Release $Env:builddir
|
||||||
- mkdir $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"
|
||||||
|
|
Loading…
Reference in New Issue