diff --git a/.drone.yml b/.drone.yml index 4afeec7..050ffef 100644 --- a/.drone.yml +++ b/.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