Fix before_deploy script to properly quote (#1261)

This commit is contained in:
Mx Corey Frang 2018-06-21 17:53:45 -04:00 committed by GitHub
parent c268bbae47
commit ea3a23e37c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,8 +28,8 @@ jobs:
env: NPM_SCRIPT=build
before_deploy:
- npm --no-git-tag-version version $($(npm bin)/json -f package.json version)-prerelease.$(date +%s)
- 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.email "$(git log --pretty=format:"%ae" -n1)"
- git config --global user.name "$(git log --pretty=format:"%an" -n1)"
deploy:
- provider: npm
on: