troubleshoot cargo auto-publish later
This commit is contained in:
parent
4b83b725b7
commit
d06d404c12
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue