Skip to content

Commit

Permalink
branch in createReleaseBranch.js was undefined (microsoft#2949)
Browse files Browse the repository at this point in the history
The branch option was dropped in the migration from
the previous version of the script and the undefined
opt.options.branch resulted in no PRs being found in the
call to the GitHub API.
  • Loading branch information
mjroghelia authored Apr 29, 2020
1 parent c10636d commit dbd4d2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions release/createReleaseBranch.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ process.env.EDITOR = process.env.EDITOR === undefined ? 'code --wait' : process.
var opt = require('node-getopt').create([
['', 'dryrun', 'Dry run only, do not actually commit new release'],
['', 'derivedFrom=version', 'Used to get PRs merged since this release was created', 'latest'],
['', 'branch=branch', 'Branch to select PRs merged into', 'master'],
['h', 'help', 'Display this help'],
])
.setHelp(
Expand Down

0 comments on commit dbd4d2c

Please sign in to comment.