From 93dbc6d27022a99644ba20ed0856de10f95e9b8e Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Fri, 27 Nov 2020 18:34:43 -0800 Subject: [PATCH] attempt to add nsis win installer generation to drone --- .drone.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.drone.yml b/.drone.yml index 9c284f20..dcda0185 100644 --- a/.drone.yml +++ b/.drone.yml @@ -98,6 +98,19 @@ pipeline: - zip -r $FILENAME cwtch - sha256sum $FILENAME > $FILENAME.sha256 - rm -r cwtch + package-windows: + mem_limit: 3G + image: hp41/nsis:latest + when: + repo: cwtch.im/ui + branch: [ master, windows_build ] + event: push + environment: + commands: + - cd deploy + - cp ./../nsis/cwtch-installer.nsi . + - makensis -v 3 cwtch-installer.nsi + - mv cwtch-installer.exe windows deploy-buildfiles: image: pivotaldata/concourse-ssh secrets: [buildfiles_key]