update drone config
This commit is contained in:
parent
ada88655fd
commit
149c1753b8
12
.drone.yml
12
.drone.yml
@ -7,7 +7,17 @@ steps:
|
||||
commands:
|
||||
- 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
|
||||
commands:
|
||||
- mkdir dist
|
||||
|
Loading…
Reference in New Issue
Block a user