Skip to content
Snippets Groups Projects
Commit 349c96ed authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Use "stable" tag on npm for master builds and "latest" for develop/smoke

This is different of what it is currently, where master/smoke goes to "latest" and develop goes to "develop"
parent 55461a07
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ before_deploy:
- >
if [ -z "$BEFORE_DEPLOY_RAN" ]; then
npm --no-git-tag-version version 0.1.0-prerelease.$(date +%Y%m%d%H%M%S)
if [ "$TRAVIS_BRANCH" == "develop" ]; then export NPM_TAG=develop; fi
if [ "$TRAVIS_BRANCH" == "master" ]; then export NPM_TAG=stable; fi
git config --global user.email $(git log --pretty=format:"%ae" -n1)
git config --global user.name $(git log --pretty=format:"%an" -n1)
export BEFORE_DEPLOY_RAN=true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment