File tree Expand file tree Collapse file tree 2 files changed +17
-9
lines changed
Expand file tree Collapse file tree 2 files changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,12 @@ cache:
1010before_install :
1111 - curl -o- -L https://yarnpkg.com/install.sh | bash
1212 - export PATH="$HOME/.yarn/bin:$PATH"
13+ - curl -o $HOME/gpgkey.asc $GPG_KEY
14+ - gpg --import $HOME/gpgkey.asc
1315 - git config --global user.name 'JounQin'
1416 -
git config --global user.email '[email protected] ' 17+ - git config --global commit.gpgsign true
18+ - git config --global tag.gpgsign true
1519
1620install : yarn --frozen-lockfile
1721
@@ -22,16 +26,20 @@ script:
2226 - yarn test
2327
2428before_deploy :
25- - set -e
2629 - npm set //registry.npmjs.org/:_authToken $NPM_TOKEN
2730 -
git remote set-url origin https://user:[email protected] /$TRAVIS_REPO_SLUG.git 2831 - git fetch origin $TRAVIS_BRANCH:$TRAVIS_BRANCH
2932 - git checkout $TRAVIS_BRANCH
3033 - yarn run lerna-changelog
3134
3235deploy :
33- provider : script
34- skip_cleanup : true
35- script : yarn run lerna publish --yes
36- on :
37- branch : master
36+ - provider : script
37+ skip_cleanup : true
38+ script : yarn run lerna publish --create-release github --yes
39+ on :
40+ branch : master
41+ - provider : script
42+ skip_cleanup : true
43+ script : yarn run lerna publish --canary --conventional-prerelease --preid beta --pre-dist-tag beta --yes
44+ on :
45+ branch : develop
Original file line number Diff line number Diff line change 55 "useWorkspaces" : true ,
66 "changelog" : {
77 "cacheDir" : " .cache" ,
8- "ignoreCommitters" : [" *bot" ]
8+ "ignoreCommitters" : [" *bot" ],
9+ "nextVersion" : " Unreleased"
910 },
1011 "command" : {
1112 "version" : {
12- "allowBranch" : " master" ,
13+ "allowBranch" : [ " develop " , " master" ] ,
1314 "conventionalCommits" : true ,
14- "createRelease" : " github" ,
1515 "gitReset" : false ,
1616 "message" : " chore(release): %s"
1717 }
You can’t perform that action at this time.
0 commit comments