update drone config
This commit is contained in:
parent
9746293a2b
commit
112b67998b
10
.drone.yml
10
.drone.yml
@ -7,7 +7,15 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- make
|
- make
|
||||||
|
|
||||||
- name: create release tar
|
- name: create release-source tar
|
||||||
|
image: golang
|
||||||
|
commands:
|
||||||
|
- go mod vendor
|
||||||
|
- tar -czf dist/release-source-$DRONE_TAG-DRONE_STAGE_ARCH.tar.gz *
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
|
||||||
|
- name: create release-binary tar
|
||||||
image: golang
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
- mkdir dist build
|
- mkdir dist build
|
||||||
|
Loading…
Reference in New Issue
Block a user