File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414
1515echo " Incrementing version to ${NPM_VERSION} ..."
1616
17- npm version $NPM_VERSION -m " Version bumped to %s"
17+ SITE_VERSION= ` npm version $NPM_VERSION -m " Version bumped to %s" `
1818
1919echo " Pushing version and tags..."
2020
2121git push origin dev -q
2222git push --tags -q
2323
24- SITE_VERSION=` node -e "
25- console.log(require('./package.json').version)
26- " `
27-
2824echo " Builing site..."
2925
3026npm run build:prod -- --silent
@@ -39,12 +35,14 @@ git rm -r ./ -q
3935echo " Copying new content of site..."
4036
4137cp -r ../$DIST_PATH /* ./
42- git add -A -q
38+ git add -A
4339
4440echo " Publishing site..."
4541
46- git commit -m " Version of site bumped to ${SITE_VERSION} " || rm -rf $TMP_PATH
42+ git commit -m " Version of site bumped to ${SITE_VERSION} " -q || rm -rf $TMP_PATH
4743
4844git push origin master -q
4945
46+ echo " Makeup cleaning up..."
47+
5048rm -rf $TMP_PATH
You can’t perform that action at this time.
0 commit comments