Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kityminder-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吴志俊
kityminder-core
Commits
503ba106
Commit
503ba106
authored
Mar 19, 2014
by
techird
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update publish script
parent
54a15807
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
publish
publish
+6
-6
No files found.
publish
View file @
503ba106
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
git checkout -q gh-pages
echo -e "\033[0;33;1m
> Merging dev commits\033[0m"
echo -e "\033[0;33;1m> Merging dev commits\033[0m"
git merge dev -qm "merge from dev"
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
rm -f GRUNT_OUTPUT
rm -f GRUNT_OUTPUT
git add dist
git add dist
echo -e "\033[0;33;1m
> Commit dist js files\033[0m"
echo -e "\033[0;33;1m> Commit dist js files\033[0m"
git commit -qm "publish"
git commit -qm "publish"
echo -e "\033[0;33;1m
> Pusing to git...\033[0m"
echo -e "\033[0;33;1m> Pusing to git...\033[0m"
git push origin gh-pages
git push
-q
origin gh-pages
git checkout -q dev
git checkout -q dev
echo -e "\033[0;33;1mPublish done.\033[0m"
echo -e "\033[0;33;1mPublish done.\033[0m"
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment