Update publishing dockerfile to publish scabbard
Updates the `publish-splinter-crates` dockerfile to include publishing
the libscabbard crate.
# limitations under the License.
# Description:
-# Builds an environment to publish libsplinter to crates.io.
+# Builds an environment to publish libsplinter and libscabbard to crates.io.
# Your crates api token must be passed in as CARGO_CRED at runtime
# using Docker's -e option.
@@ -50,4 +50,9 @@ CMD cargo login $CARGO_CRED \
&& rm -f ../Cargo.lock ./Cargo.lock \
&& cargo clean \
&& cargo test \
+ && cargo publish \
+ && cd /project/splinter/services/scabbard/libscabbard \
+ && rm -f ../../../Cargo.lock ./Cargo.lock \
+ && cargo clean \
+ && cargo test \
&& cargo publish
