We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 277d7aa commit cf92d6cCopy full SHA for cf92d6c
scripts/site/publish.sh
@@ -58,6 +58,8 @@ function docs {
58
gulp docs --doc-version="$VERSION_NAME"
59
gulp docs-index
60
61
+ VERSION=$(readJsonProp "package.json" "version")
62
+
63
cd $IONIC_SITE_DIR
64
65
CHANGES=$(git status --porcelain)
@@ -67,7 +69,7 @@ function docs {
67
69
echo "-- No changes detected in docs for $VERSION_NAME; docs not updated."
68
70
else
71
git add -A
- git commit -am "docs: update for $VERSION_NAME"
72
+ git commit -am "docs: update for $VERSION"
73
git push -q origin gh-pages
74
75
echo "-- Updated docs for $VERSION_NAME succesfully!"
0 commit comments