From d06d404c12ea4d887b1106007fe56ed18600423a Mon Sep 17 00:00:00 2001 From: Ritesh Chitlangi Date: Thu, 29 Jul 2021 23:52:41 +0800 Subject: [PATCH] troubleshoot cargo auto-publish later --- .drone.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 6e0b501..21e9791 100644 --- a/.drone.yml +++ b/.drone.yml @@ -39,7 +39,6 @@ steps: commands: - export CARGO_HOME=/tmp/cargo - export CARGO_TARGET_DIR=/tmp/cargo-target - - cargo login - export EPP_CLIENT_VERSION_CHANGE=$(git diff HEAD^ HEAD -- epp-client/Cargo.toml | grep -E "([+\-]){1}version" | wc -l) - if [ $EPP_CLIENT_VERSION_CHANGE -eq 2 ]; then echo "epp-client version updated. publishing to crates.io" && cd epp-client && cargo publish && cd .. ; else echo "epp-client version unchanged"; fi - export EPP_CLIENT_MACROS_VERSION_CHANGE=$(git diff HEAD^ HEAD -- epp-client-macros/Cargo.toml | grep -E "([+\-]){1}version" | wc -l)