From ea98b5bd0521ec11238977bb3af7b1af4ea09255 Mon Sep 17 00:00:00 2001 From: Ritesh Chitlangi Date: Fri, 29 Oct 2021 10:47:21 +0800 Subject: [PATCH] only execute crates.io publish on merges to master --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index 21e9791..d1dc2dc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -45,6 +45,7 @@ steps: - if [ $EPP_CLIENT_MACROS_VERSION_CHANGE -eq 2 ]; then echo "epp-client-macros version updated. publishing to crates.io" && cd epp-client-macros && cargo publish && cd .. ; else echo "epp-client-macros version unchanged"; fi when: branch: master + event: push volumes: - name: ssh