Skip to content

Commit

Permalink
update release.sh for auto publish gh-pages branch
Browse files Browse the repository at this point in the history
  • Loading branch information
qiu8310 committed Apr 15, 2015
1 parent 2eced04 commit 1883a68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
File renamed without changes.
3 changes: 3 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ if test $# -gt 0; then
gulp release \
&& git-changelog -t $1 \
&& git-release $1 \
&& echo 'update gh-pages' \
&& cp browser/* gh-pages && cd gh-pages && git add . -A && git commit -m "Release $1" \
&& git push origin gh-pages && cd .. \
&& echo 'npm publish ... ' \
&& npm publish
else
Expand Down

0 comments on commit 1883a68

Please sign in to comment.