Skip to content

Commit 02c6f66

Browse files
committed
chore: 更新 Lerna 发布方式和 Travis 触发条件
1 parent 315416e commit 02c6f66

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

Diff for: .travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
script:
2424
- yarn run test:ci
2525
- stage: release
26-
if: "(tag =~ /^taro-ui@3/) AND (NOT (type IN (pull_request)))"
26+
if: "(tag =~ /^v3/) AND (NOT (type IN (pull_request)))"
2727
before_install:
2828
- curl -o- -L https://yarnpkg.com/install.sh | bash
2929
- export PATH="$HOME/.yarn/bin:$PATH"

Diff for: lerna.json

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
{
22
"packages": [
3-
"packages/*"
3+
"packages/taro-ui"
44
],
5-
"version": "independent",
5+
"command": {
6+
"publish": {
7+
"message": "chore(release): publish %s"
8+
},
9+
"create": {
10+
"homepage": "https://github.com/nervjs/taro-ui",
11+
"license": "MIT"
12+
}
13+
},
14+
"version": "3.0.0-alpha.2",
615
"npmClient": "yarn",
716
"useWorkspaces": true
817
}

0 commit comments

Comments
 (0)