Update release script
This commit is contained in:
+6
-3
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user