attempt 3

This commit is contained in:
DD 2017-10-16 11:26:55 -04:00
parent 7c84e5b418
commit 1681d36ed5

View file

@ -12,11 +12,9 @@ install:
- npm --production=false install - npm --production=false install
- npm --production=false update - npm --production=false update
before_deploy: before_deploy:
- npm --no-git-tag-version version 0.1.0-prerelease.$(date +%Y%m%d%H%M%S)
- git config --global user.email $(git log --pretty=format:"%ae" -n1) - git config --global user.email $(git log --pretty=format:"%ae" -n1)
- git config --global user.name $(git log --pretty=format:"%an" -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: deploy:
- provider: script - provider: script
on: on: