diff --git a/.drone.yml b/.drone.yml index 3868b05..34534dc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -57,8 +57,24 @@ steps: - name: compress binaries for release image: busybox - find ./dist -type f -perm +111 -execdir tar -czvf {}.tar.gz {} \; + + - name: upload gitea pre-release + image: plugins/gitea-release + settings: + title: Bleeding edge + files: dist/*.tar.gz + prerelease: true + checksum: + - md5 + - sha1 + - sha256 + - sha512 + base_url: + from_secret: gitea_base_url + api_key: + from_secret: gitea_token when: - event: tag + event: push - name: upload gitea release image: plugins/gitea-release