From 34600bd3a9796d0b35f9464719bffde527649023 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Fri, 18 Mar 2022 13:58:20 -0500 Subject: [PATCH] Publish new releases when tagged. --- .drone.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 7d17215..9f43ede 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,7 +15,10 @@ steps: - name: release image: rust commands: - - cargo build + - cargo publish + when: + event: + - tag environment: CARGO_REGISTRY_TOKEN: from_secret: cargo_registry_token