We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04d98fb commit 14658e4Copy full SHA for 14658e4
bin/publish-docs.sh
@@ -5,7 +5,7 @@ set -e
5
PAGES_DIR=./gh-pages
6
DOCS_DIR=./out
7
REPO="https://${GH_TOKEN}@github.com/contentful/contentful.js.git"
8
-VERSION=`cat package.json|grep version|sed -e 's/.*version": "//g'|sed -e 's/",.*//g'`
+VERSION=`cat package.json|json version`
9
10
echo "Publishing docs"
11
0 commit comments