Skip to content

Commit

Permalink
chore: 更新 Lerna 发布方式和 Travis 触发条件
Browse files Browse the repository at this point in the history
  • Loading branch information
Garfield550 committed Jul 2, 2020
1 parent 315416e commit 02c6f66
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
script:
- yarn run test:ci
- stage: release
if: "(tag =~ /^taro-ui@3/) AND (NOT (type IN (pull_request)))"
if: "(tag =~ /^v3/) AND (NOT (type IN (pull_request)))"
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
Expand Down
13 changes: 11 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
{
"packages": [
"packages/*"
"packages/taro-ui"
],
"version": "independent",
"command": {
"publish": {
"message": "chore(release): publish %s"
},
"create": {
"homepage": "https://github.com/nervjs/taro-ui",
"license": "MIT"
}
},
"version": "3.0.0-alpha.2",
"npmClient": "yarn",
"useWorkspaces": true
}

0 comments on commit 02c6f66

Please sign in to comment.