#!/bin/sh VERSION_NAME=${CI_COMMIT_TAG#v} echo "publish v$VERSION_NAME ..." cargo publish --manifest-path crypto/Cargo.toml || exit 1 sleep 30 cargo publish --manifest-path common/Cargo.toml || exit 1 sleep 30 cargo publish --manifest-path peer/Cargo.toml || exit 1 sleep 30 cargo publish --manifest-path wallet/Cargo.toml || exit 1 sleep 30 cargo publish --manifest-path documents/Cargo.toml || exit 1 sleep 30 cargo publish --manifest-path documents-parser/Cargo.toml || exit 1 sleep 30 cargo publish --manifest-path block/Cargo.toml || exit 1 sleep 30 cargo publish --manifest-path bda-types/Cargo.toml || exit 1 sleep 30 cargo publish --manifest-path Cargo.toml || exit 1