Fixed enabling go modules for cross-platform
This commit is contained in:
parent
7e38937efc
commit
44223bde77
1 changed files with 9 additions and 6 deletions
15
.drone1.yml
15
.drone1.yml
|
@ -152,7 +152,7 @@ steps:
|
||||||
image: techknowlogick/xgo:latest
|
image: techknowlogick/xgo:latest
|
||||||
pull: true
|
pull: true
|
||||||
environment:
|
environment:
|
||||||
GOPATH: /srv/app
|
GO111MODULE: on
|
||||||
commands:
|
commands:
|
||||||
- export PATH=$PATH:$GOPATH/bin
|
- export PATH=$PATH:$GOPATH/bin
|
||||||
- make release-windows
|
- make release-windows
|
||||||
|
@ -162,7 +162,7 @@ steps:
|
||||||
image: techknowlogick/xgo:latest
|
image: techknowlogick/xgo:latest
|
||||||
pull: true
|
pull: true
|
||||||
environment:
|
environment:
|
||||||
GOPATH: /srv/app
|
GO111MODULE: on
|
||||||
commands:
|
commands:
|
||||||
- export PATH=$PATH:$GOPATH/bin
|
- export PATH=$PATH:$GOPATH/bin
|
||||||
- make release-linux
|
- make release-linux
|
||||||
|
@ -172,7 +172,7 @@ steps:
|
||||||
image: techknowlogick/xgo:latest
|
image: techknowlogick/xgo:latest
|
||||||
pull: true
|
pull: true
|
||||||
environment:
|
environment:
|
||||||
GOPATH: /srv/app
|
GO111MODULE: on
|
||||||
commands:
|
commands:
|
||||||
- export PATH=$PATH:$GOPATH/bin
|
- export PATH=$PATH:$GOPATH/bin
|
||||||
- make release-darwin
|
- make release-darwin
|
||||||
|
@ -343,8 +343,9 @@ steps:
|
||||||
image: techknowlogick/xgo:latest
|
image: techknowlogick/xgo:latest
|
||||||
pull: true
|
pull: true
|
||||||
environment:
|
environment:
|
||||||
GOPATH: /srv/app
|
GO111MODULE: on
|
||||||
commands:
|
commands:
|
||||||
|
- export PATH=$PATH:$GOPATH/bin
|
||||||
- make release-windows
|
- make release-windows
|
||||||
depends_on: [ before-static-build ]
|
depends_on: [ before-static-build ]
|
||||||
|
|
||||||
|
@ -352,8 +353,9 @@ steps:
|
||||||
image: techknowlogick/xgo:latest
|
image: techknowlogick/xgo:latest
|
||||||
pull: true
|
pull: true
|
||||||
environment:
|
environment:
|
||||||
GOPATH: /srv/app
|
GO111MODULE: on
|
||||||
commands:
|
commands:
|
||||||
|
- export PATH=$PATH:$GOPATH/bin
|
||||||
- make release-linux
|
- make release-linux
|
||||||
depends_on: [ before-static-build ]
|
depends_on: [ before-static-build ]
|
||||||
|
|
||||||
|
@ -361,8 +363,9 @@ steps:
|
||||||
image: techknowlogick/xgo:latest
|
image: techknowlogick/xgo:latest
|
||||||
pull: true
|
pull: true
|
||||||
environment:
|
environment:
|
||||||
GOPATH: /srv/app
|
GO111MODULE: on
|
||||||
commands:
|
commands:
|
||||||
|
- export PATH=$PATH:$GOPATH/bin
|
||||||
- make release-darwin
|
- make release-darwin
|
||||||
depends_on: [ before-static-build ]
|
depends_on: [ before-static-build ]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue