Merge branch 'trunk' into message_pane_ui
continuous-integration/drone/pr Build is failing
Details
continuous-integration/drone/pr Build is failing
Details
This commit is contained in:
commit
2d31b1e620
24
.drone.yml
24
.drone.yml
|
@ -144,17 +144,37 @@ steps:
|
|||
image: openpriv/flutter-desktop:windows-dev
|
||||
commands:
|
||||
- git fetch --tags
|
||||
- git describe --tags > VERSION
|
||||
- powershell -command "git describe --tags > VERSION"
|
||||
- powershell -command "Get-Date -Format 'yyyy-MM-dd-HH-mm' >.\BUILDDATE"
|
||||
- name: build-windows
|
||||
image: openpriv/flutter-desktop:windows-dev
|
||||
commands:
|
||||
- flutter pub get
|
||||
- flutter build windows
|
||||
# flwtch-`cat VERSION`-`cat BUILDDATE`
|
||||
- $Env:builddir = 'deploy\flwtch-win-'
|
||||
- $Env:builddir += type .\VERSION
|
||||
- $Env:builddir += '-'
|
||||
- $Env:builddir += type .\BUILDDATA
|
||||
- mkdir deploy
|
||||
- move windows/runner/Release/ $Env:builddir
|
||||
- name: deploy-windows
|
||||
image: appleboy/drone-scp:v1.4.0-windows
|
||||
when:
|
||||
event: push
|
||||
status: [ success ]
|
||||
settings:
|
||||
host: openprivacy.ca
|
||||
username: buildfiles
|
||||
key:
|
||||
from_secret: buildfiles_key
|
||||
port: 22
|
||||
target: /home/buildfiles/buildfiles/
|
||||
#/var/www/deploy/${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}
|
||||
source: deploy/*
|
||||
|
||||
trigger:
|
||||
repo: flutter/flutter_app
|
||||
branch: trunk
|
||||
event:
|
||||
- push
|
||||
- push
|
||||
|
|
Loading…
Reference in New Issue