You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 14, 2018. It is now read-only.
if(env.TRAVIS!=='true')returncb(newSRError('Not running on Travis','ENOTRAVIS'))
7
7
8
8
if(env.hasOwnProperty('TRAVIS_PULL_REQUEST')&&env.TRAVIS_PULL_REQUEST!=='false')returncb(newSRError('Not publishing from pull requests','EPULLREQUEST'))
9
9
if(env.TRAVIS_TAG)returncb(newSRError('Not publishing from tags','EGITTAG'))
10
10
11
-
constbranch=(pkg.release||{}).branch||'master'
12
-
13
-
if(branch!==env.TRAVIS_BRANCH)returncb(newSRError(`Branch is not ${branch}`,'EBRANCHMISMATCH'))
11
+
if(options.branch!==env.TRAVIS_BRANCH)returncb(newSRError(`Branch is not ${options.branch}`,'EBRANCHMISMATCH'))
14
12
15
13
if(env.BUILD_MINION==='YES')returncb(newSRError('Not publishing from minion','ENOBUILDLEADER'))
0 commit comments