Skip to content

Commit b3a5810

Browse files
committed
fix: fix package release ci config
1 parent e4fede9 commit b3a5810

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,21 @@ jobs:
2323
script:
2424
- yarn run test:ci
2525
- stage: release
26-
if: "(tag =~ /^v3/) AND (NOT (type IN (pull_request)))"
26+
if: "(tag =~ /^taro-ui@3/) 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"
3030
install:
3131
- yarn --frozen-lockfile
3232
before_script:
33-
- yarn run clean
33+
- yarn run clean:component
3434
script:
35-
- yarn run build
35+
- yarn run build:component
3636
before_deploy:
3737
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null
3838
deploy:
3939
provider: script
40-
cleanup: false
40+
skip_cleanup: true
4141
script: "yarn run publish"
4242
on:
4343
tags: true

0 commit comments

Comments
 (0)