troubleshoot cargo auto-publish later

This commit is contained in:
Ritesh Chitlangi 2021-07-29 23:52:41 +08:00
parent 4b83b725b7
commit d06d404c12
1 changed files with 0 additions and 1 deletions

View File

@ -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)