Merge pull request #64 from fsih/yaml2

Append version number to npm deploy to fix npm deploy
This commit is contained in:
DD Liu 2017-10-16 11:07:57 -04:00 committed by GitHub
commit 01f91f16b4
2 changed files with 4 additions and 0 deletions

View file

@ -14,6 +14,9 @@ install:
before_deploy:
- git config --global user.email $(git log --pretty=format:"%ae" -n1)
- git config --global user.name $(git log --pretty=format:"%an" -n1)
- VPKG=$($(npm bin)/json -f package.json version)
- export VERSION=${VPKG/%?/}$(date +%Y%m%d%H%M%S)
- npm --no-git-tag-version version $VERSION
deploy:
- provider: script
on:

View file

@ -50,6 +50,7 @@
"gh-pages": "github:rschamp/gh-pages#publish-branch-to-subfolder",
"html-webpack-plugin": "2.30.0",
"jest": "^20.0.4",
"json": "^9.0.6",
"keymirror": "0.1.1",
"lodash.bindall": "4.4.0",
"lodash.defaultsdeep": "4.6.0",