update drone config
This commit is contained in:
parent
ada88655fd
commit
149c1753b8
12
.drone.yml
12
.drone.yml
@ -7,7 +7,17 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- make
|
- make
|
||||||
|
|
||||||
- name: create release tar
|
- name: create release-source tar
|
||||||
|
image: golang
|
||||||
|
commands:
|
||||||
|
- go mod vendor
|
||||||
|
- tar -czf release-source-$DRONE_TAG.tar.gz *
|
||||||
|
- mkdir dist
|
||||||
|
- mv release-source-$DRONE_TAG.tar.gz dist/
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
|
||||||
|
- name: create release-binary tar
|
||||||
image: golang
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
- mkdir dist
|
- mkdir dist
|
||||||
|
Loading…
Reference in New Issue
Block a user