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