diff --git a/.travis.yml b/.travis.yml index ee7fd70..9832efe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ after_script: ]]; then # Authenticate NPM 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 publish # Publish to gh-pages as most recent committer