Skip to content

Commit 6b0f1e0

Browse files
committed
chore: Donot run semantic-release on pull request
1 parent 4e376b9 commit 6b0f1e0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ node_js:
1010
before_script:
1111
- npm prune
1212
after_success:
13-
- npm run semantic-release
13+
if ([ "$TRAVIS_PULL_REQUEST" == "false" ]); then
14+
eval 'npm run semantic-release';
15+
fi
1416
branches:
1517
except:
1618
- /^v\d+\.\d+\.\d+$/

0 commit comments

Comments
 (0)