Skip to content

Commit eb6f9af

Browse files
authored
misc: Use if statement in travis config for deploys (getsentry#2595)
1 parent 0d9725a commit eb6f9af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ jobs:
4343
- stage: Deploy
4444
name: '@sentry/packages - pack and zeus upload'
4545
node_js: '12'
46-
script: scripts/pack-and-upload.sh || [[ ! "$TRAVIS_BRANCH" =~ ^release/ ]]
46+
if: branch =~ ^release/
47+
script: scripts/pack-and-upload.sh
4748

4849
notifications:
4950
webhooks:

0 commit comments

Comments
 (0)