From 44223bde7727799ce264b84b41fe3d37835e01ad Mon Sep 17 00:00:00 2001 From: konrad Date: Sat, 27 Apr 2019 11:24:47 +0200 Subject: [PATCH] Fixed enabling go modules for cross-platform --- .drone1.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.drone1.yml b/.drone1.yml index 0a44fbf3272..8480925e018 100644 --- a/.drone1.yml +++ b/.drone1.yml @@ -152,7 +152,7 @@ steps: image: techknowlogick/xgo:latest pull: true environment: - GOPATH: /srv/app + GO111MODULE: on commands: - export PATH=$PATH:$GOPATH/bin - make release-windows @@ -162,7 +162,7 @@ steps: image: techknowlogick/xgo:latest pull: true environment: - GOPATH: /srv/app + GO111MODULE: on commands: - export PATH=$PATH:$GOPATH/bin - make release-linux @@ -172,7 +172,7 @@ steps: image: techknowlogick/xgo:latest pull: true environment: - GOPATH: /srv/app + GO111MODULE: on commands: - export PATH=$PATH:$GOPATH/bin - make release-darwin @@ -343,8 +343,9 @@ steps: image: techknowlogick/xgo:latest pull: true environment: - GOPATH: /srv/app + GO111MODULE: on commands: + - export PATH=$PATH:$GOPATH/bin - make release-windows depends_on: [ before-static-build ] @@ -352,8 +353,9 @@ steps: image: techknowlogick/xgo:latest pull: true environment: - GOPATH: /srv/app + GO111MODULE: on commands: + - export PATH=$PATH:$GOPATH/bin - make release-linux depends_on: [ before-static-build ] @@ -361,8 +363,9 @@ steps: image: techknowlogick/xgo:latest pull: true environment: - GOPATH: /srv/app + GO111MODULE: on commands: + - export PATH=$PATH:$GOPATH/bin - make release-darwin depends_on: [ before-static-build ]