From 149c1753b802f93c7b72a3501df286e5e713a368 Mon Sep 17 00:00:00 2001 From: Steve Date: Fri, 15 Oct 2021 12:34:18 -0400 Subject: [PATCH] update drone config --- .drone.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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