fix(ci): set release path to /source
Should fix https://github.com/techknowlogick/xgo/issues/187
This commit is contained in:
parent
80634d43c1
commit
392bdd1b94
16
.drone.yml
16
.drone.yml
@ -349,8 +349,8 @@ depends_on:
|
|||||||
- testing
|
- testing
|
||||||
|
|
||||||
workspace:
|
workspace:
|
||||||
base: /go
|
base: /source
|
||||||
path: src/code.vikunja.io/api
|
path: /
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
@ -377,7 +377,7 @@ steps:
|
|||||||
event: [ push, tag, pull_request ]
|
event: [ push, tag, pull_request ]
|
||||||
|
|
||||||
- name: before-static-build
|
- name: before-static-build
|
||||||
image: techknowlogick/xgo:go-1.19.2
|
image: techknowlogick/xgo:latest
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- export PATH=$PATH:$GOPATH/bin
|
- export PATH=$PATH:$GOPATH/bin
|
||||||
@ -386,7 +386,7 @@ steps:
|
|||||||
depends_on: [ fetch-tags, mage ]
|
depends_on: [ fetch-tags, mage ]
|
||||||
|
|
||||||
- name: static-build-windows
|
- name: static-build-windows
|
||||||
image: techknowlogick/xgo:go-1.19.2
|
image: techknowlogick/xgo:latest
|
||||||
pull: true
|
pull: true
|
||||||
environment:
|
environment:
|
||||||
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
|
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
|
||||||
@ -399,7 +399,7 @@ steps:
|
|||||||
depends_on: [ before-static-build ]
|
depends_on: [ before-static-build ]
|
||||||
|
|
||||||
- name: static-build-linux
|
- name: static-build-linux
|
||||||
image: techknowlogick/xgo:go-1.19.2
|
image: techknowlogick/xgo:latest
|
||||||
pull: true
|
pull: true
|
||||||
environment:
|
environment:
|
||||||
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
|
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
|
||||||
@ -412,7 +412,7 @@ steps:
|
|||||||
depends_on: [ before-static-build ]
|
depends_on: [ before-static-build ]
|
||||||
|
|
||||||
- name: static-build-darwin
|
- name: static-build-darwin
|
||||||
image: techknowlogick/xgo:go-1.19.2
|
image: techknowlogick/xgo:latest
|
||||||
pull: true
|
pull: true
|
||||||
environment:
|
environment:
|
||||||
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
|
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
|
||||||
@ -435,7 +435,7 @@ steps:
|
|||||||
- ./mage-static release:compress
|
- ./mage-static release:compress
|
||||||
|
|
||||||
- name: after-build-static
|
- name: after-build-static
|
||||||
image: techknowlogick/xgo:go-1.19.2
|
image: techknowlogick/xgo:latest
|
||||||
pull: true
|
pull: true
|
||||||
depends_on:
|
depends_on:
|
||||||
- after-build-compress
|
- after-build-compress
|
||||||
@ -719,6 +719,6 @@ steps:
|
|||||||
- failure
|
- failure
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: f3b261d9329113993cdf8ae785daee6f0b2c0ea38662d2714385d7a31f7e5b2f
|
hmac: f8ce17f7158088a124039f579ba10364788d306feac3feeb51689dce440d6213
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user