Be accurate in version comment

This commit is contained in:
Ray Schamp 2016-09-27 09:22:01 -04:00
parent d7d1f92a13
commit 9fa35524de

View File

@ -22,7 +22,7 @@ after_script:
]]; then ]]; then
# Authenticate NPM # Authenticate NPM
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
# Set version to commit SHA # Set version to timestamp
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 +%s)
npm publish npm publish
# Publish to gh-pages as most recent committer # Publish to gh-pages as most recent committer