From 010070e6aa32db9d9c18787fed25efa2d0852d6a Mon Sep 17 00:00:00 2001 From: Steve Date: Sat, 7 Aug 2021 13:12:01 -0400 Subject: [PATCH] update ci --- .drone.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index a8eef4f..7f940b2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,7 +10,8 @@ steps: - name: create release tar image: golang commands: - - tar -czf release-$DRONE_TAG.tar.gz init/simpbot.service simpbot + - mkdir dist + - tar -czf dist/release-$DRONE_TAG.tar.gz init/simpbot.service simpbot when: event: tag @@ -20,7 +21,7 @@ steps: api_key: from_secret: gitea_token files: - - release-$DRONE_TAG.tar.gz + - dist/* base_url: https://git.saintnet.tech when: event: tag