File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 22
22
- if : tag =~ ^v # Run only for tags
23
23
stage : " deploy"
24
24
script :
25
+ - if [[ "$TRAVIS_TAG" =~ "rc" ]] ; then export DIST_TAG="next" ; fi
25
26
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null
26
27
- npm run release:publish
27
28
skip_cleanup : true
Original file line number Diff line number Diff line change 35
35
"release:graduate" : " npm run release -- --conventional-graduate" ,
36
36
"release:next" : " npm run release -- prerelease" ,
37
37
"release:next:init" : " lerna version premajor --force-publish" ,
38
- "release:publish" : " lerna publish from-package --yes" ,
38
+ "release:publish" : " lerna publish from-package --yes --dist-tag ${DIST_TAG:-latest} " ,
39
39
"stylelint" : " turbo run stylelint" ,
40
40
"test" : " turbo run test" ,
41
41
"version" : " npm run doc && node utils/version/create-ima-app-versions.js && git add docs packages/create-ima-app/template/package.json"
You can’t perform that action at this time.
0 commit comments