Skip to content

Commit d5bf275

Browse files
committed
chore: do not double build prs
1 parent f45436c commit d5bf275

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
language: node_js
22
cache: npm
3+
4+
branches:
5+
only:
6+
- master
7+
- /^release\/.*$/
8+
39
stages:
410
- check
511
- test
@@ -57,7 +63,7 @@ jobs:
5763
- stage: release
5864
name: release rc
5965
script:
60-
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ../.npmrc
66+
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
6167
- npm whoami
6268
- npm run release:rc -- --yes
6369

0 commit comments

Comments
 (0)