From 112b67998b9bc27f5bf31d2a78217aba59bc92e4 Mon Sep 17 00:00:00 2001 From: Steve Date: Fri, 15 Oct 2021 11:12:54 -0400 Subject: [PATCH] update drone config --- .drone.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 3e94a1c..51549e9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,7 +7,15 @@ steps: commands: - 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 commands: - mkdir dist build