Update release script

This commit is contained in:
Sidharth Vinod
2021-05-03 13:17:10 +05:30
parent 28106a43aa
commit 3643be8b5a
+6 -3
View File
@@ -4,10 +4,13 @@
# git clone git@github.com:mermaid-js/docs.git
# git clone https://github.com/mermaid-js/docs.git
# set -e
# yarn release
set -e
yarn release
pushd .
[ -d ../docs ] || (echo "Clone https://github.com/mermaid-js/docs to parent folder before continuing." && exit)
if [ ! -d ../docs ]; then
echo "Clone https://github.com/mermaid-js/docs to parent folder before continuing."
exit
fi
cp -r docs/* ../docs/mermaid-live-editor-beta
cd ../docs
git add .