Nice Dates #50

Merged
erinn merged 2 commits from message_pane_ui into trunk 2021-04-20 23:04:45 +00:00
1 changed files with 22 additions and 2 deletions
Showing only changes of commit 2d31b1e620 - Show all commits

View File

@ -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