Be accurate in version comment
This commit is contained in:
parent
d7d1f92a13
commit
9fa35524de
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user