From e7850c8d72439385dc74bbf1d16295338558a91c Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Sat, 26 Mar 2022 12:07:33 +0100 Subject: [PATCH] updated .drone.yml --- .drone.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.drone.yml b/.drone.yml index 5b41477..32dbea8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,5 +17,21 @@ steps: - apt-get update -y - apt-get install libasound2-dev -y - cargo build --release --verbose --all + - cd target/release + - tar -czvf zabbixlaunch-${DRONE_TAG}.tar.gz zabbixlaunch + when: + event: tag + - name: publish + image: plugins/gitea-release + settings: + base_url: https://git.paulbsd.com + api_key: + from_secret: gitea_token + files: "target/release/*.tar.gz" + checksum: + - sha256 + - sha512 + environment: + PLUGIN_TITLE: "" when: event: tag