stable(rpc-docs): avoid recursive copy (#9613)
* stable: avoid recursive cp in rpc-docs * rpc-docs: remove cd ..
This commit is contained in:
parent
1b3b115e55
commit
7658d22f3a
@ -42,12 +42,12 @@ upload_files() {
|
|||||||
git push --tags
|
git push --tags
|
||||||
}
|
}
|
||||||
|
|
||||||
PROJECT_DIR=$(pwd)
|
RPC_TRAITS_DIR="rpc/src/v1/traits"
|
||||||
|
|
||||||
setup_git
|
setup_git
|
||||||
cd ..
|
|
||||||
clone_repos
|
clone_repos
|
||||||
cp -r $PROJECT_DIR jsonrpc/.parity
|
mkdir -p "jsonrpc/.parity/$RPC_TRAITS_DIR"
|
||||||
|
cp $RPC_TRAITS_DIR/*.rs "jsonrpc/.parity/$RPC_TRAITS_DIR"
|
||||||
cd jsonrpc
|
cd jsonrpc
|
||||||
build_docs
|
build_docs
|
||||||
cd ..
|
cd ..
|
||||||
|
Loading…
Reference in New Issue
Block a user