Use the newer date format for vm versions, to get greenkeepr working

This commit is contained in:
Paul Kaplan 2018-07-18 15:16:57 -04:00
parent c428e2ec02
commit 11bdae2740

View file

@ -31,7 +31,7 @@ jobs:
node_js: 8
env: NPM_SCRIPT=build
before_deploy:
- npm --no-git-tag-version version $($(npm bin)/json -f package.json version)-prerelease.$(date +%s)
- npm --no-git-tag-version version $($(npm bin)/json -f package.json version)-prerelease.$(date +%Y%m%d%H%M%S)
- git config --global user.email "$(git log --pretty=format:"%ae" -n1)"
- git config --global user.name "$(git log --pretty=format:"%an" -n1)"
deploy: