From 5db234f5b9dfb9ddd65b377d640910b21eb7bb06 Mon Sep 17 00:00:00 2001 From: Steve Date: Fri, 15 Oct 2021 11:22:26 -0400 Subject: [PATCH] update drone config --- .drone.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index a5b4abd..a2149f9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,9 +10,10 @@ steps: - name: create release-source tar image: golang commands: - - mkdir dist - go mod vendor - - tar --exclude='/dist' --exclude='/dist/*' -czf dist/release-source-$DRONE_TAG-$DRONE_STAGE_ARCH.tar.gz * + - tar -czf release-source-$DRONE_TAG-$DRONE_STAGE_ARCH.tar.gz * + - mkdir dist + - mv release-source-$DRONE_TAG-$DRONE_STAGE_ARCH.tar.gz dist/ when: event: tag