Commit 3ea58871 authored by techird's avatar techird

update publish script

parent d7f31152
echo -e "\033[0;33;1mPublish start." echo -e "\033[0;33;1mPublish start."
echo -e "\033[0;33;1m> Checking out gh-pages\033[0m" echo -e "\033[0;33;1m> Checking out gh-pages\033[0m"
git checkout -q gh-pages branch -D gh-pages
git checkout -q -b gh-pages
echo -e "\033[0;33;1m> Merging server changes\033[0m" echo -e "\033[0;33;1m> Delete server branch\033[0m"
git pull origin gh-pages git push origin :gh-pages
echo -e "\033[0;33;1m> Merging dev commits\033[0m"
git merge dev -qm "merge from dev"
echo -e "\033[0;33;1m> Building dist js files\033[0m" echo -e "\033[0;33;1m> Building dist js files\033[0m"
grunt -q > GRUNT_OUTPUT grunt -q > GRUNT_OUTPUT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment