From eb60a5d05478f56bf15220f49ed78f0f72af5698 Mon Sep 17 00:00:00 2001
From: techknowlogick <techknowlogick@gitea.io>
Date: Thu, 13 Aug 2020 22:29:00 -0400
Subject: [PATCH]  Build windows using golang 1.14 (#12489)

---
 .drone.yml | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/.drone.yml b/.drone.yml
index 2738edaf58..107cbf59ac 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -425,14 +425,23 @@ steps:
     commands:
       - git fetch --tags --force
 
-  - name: static
+  - name: static-windows
     pull: always
-    image: techknowlogick/xgo:go-1.15.x
+    image: techknowlogick/xgo:go-1.14.x
     commands:
       - apt update && apt -y install curl
       - curl -sL https://deb.nodesource.com/setup_12.x | bash - && apt -y install nodejs
       - export PATH=$PATH:$GOPATH/bin
-      - make release
+      - make frontend generate release-windows
+    environment:
+      GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
+      TAGS: bindata sqlite sqlite_unlock_notify
+
+  - name: static
+    pull: always
+    image: techknowlogick/xgo:go-1.15.x
+    commands:
+      - make release-linux release-darwin release-copy release-compress release-sources release-docs release-check
     environment:
       GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
       TAGS: bindata sqlite sqlite_unlock_notify