File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ async function prepare({
25
25
firstRelease = false ,
26
26
releaseCount,
27
27
dryRun = false ,
28
+ noBrowse = false ,
28
29
} ) {
29
30
if ( help ) {
30
31
printHelp ( ) ;
@@ -61,6 +62,7 @@ async function prepare({
61
62
stagingBranch,
62
63
currentVersion,
63
64
nextVersion,
65
+ noBrowse,
64
66
config,
65
67
dir,
66
68
dryRun,
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ export default ({
8
8
stagingBranch,
9
9
currentVersion,
10
10
nextVersion,
11
+ noBrowse,
11
12
config,
12
13
dir,
13
14
dryRun,
@@ -60,7 +61,7 @@ export default ({
60
61
const createPullRequestCommand = [
61
62
'hub pull-request' ,
62
63
`--base ${ destinationBranch } ` ,
63
- '--browse' ,
64
+ noBrowse ? undefined : '--browse' ,
64
65
'--push' ,
65
66
pullRequestReviewer ? `--reviewer ${ pullRequestReviewer } ` : undefined ,
66
67
`--file ${ filePath } ` ,
You can’t perform that action at this time.
0 commit comments