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