Skip to content

Commit

Permalink
chore(build): make docs commit prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ajoslin committed Mar 27, 2014
1 parent 277d7aa commit cf92d6c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/site/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ function docs {
gulp docs --doc-version="$VERSION_NAME"
gulp docs-index

VERSION=$(readJsonProp "package.json" "version")

cd $IONIC_SITE_DIR

CHANGES=$(git status --porcelain)
Expand All @@ -67,7 +69,7 @@ function docs {
echo "-- No changes detected in docs for $VERSION_NAME; docs not updated."
else
git add -A
git commit -am "docs: update for $VERSION_NAME"
git commit -am "docs: update for $VERSION"
git push -q origin gh-pages

echo "-- Updated docs for $VERSION_NAME succesfully!"
Expand Down

0 comments on commit cf92d6c

Please sign in to comment.