Add 10s sleep during crates publish
Cargo's index updates are not instantaneous, so a brief sleep is necessary
to ensure that the newly published splinter version is available for use by
libscabbard.
More information about Cargo's index udpates can be found at
@@ -51,6 +51,7 @@ CMD cargo login $CARGO_CRED \
&& cargo clean \
&& cargo test \
&& cargo publish \
+ && sleep 10 \
&& cd /project/splinter/services/scabbard/libscabbard \
&& sed -i'' -e "s/splinter = {.*$/splinter\ =\ \"$REPO_VERSION\"/" Cargo.toml \
&& rm -f ../../../Cargo.lock ./Cargo.lock \
