Skip to content

Commit cf92d6c

Browse files
committed
chore(build): make docs commit prettier
1 parent 277d7aa commit cf92d6c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/site/publish.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ function docs {
5858
gulp docs --doc-version="$VERSION_NAME"
5959
gulp docs-index
6060

61+
VERSION=$(readJsonProp "package.json" "version")
62+
6163
cd $IONIC_SITE_DIR
6264

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

7375
echo "-- Updated docs for $VERSION_NAME succesfully!"

0 commit comments

Comments
 (0)