Fixed enabling go modules for cross-platform
This commit is contained in:
parent
7e38937efc
commit
44223bde77
15
.drone1.yml
15
.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 ]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user