File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -118,10 +118,9 @@ if ($repoStatus -ne "")
118
118
git - c http.extraheader= " AUTHORIZATION: $auth " push -- set-upstream origin $newBranchName > $null
119
119
120
120
# start PR
121
- # we are hardcoding to 'develop' branch to have a fixed one
122
- # this is very important for tags (which don't have branch information)
121
+ # we are pointing to the $repoMainBranch
123
122
# considering that the base branch can be changed at the PR ther is no big deal about this
124
- $prRequestBody = @ {title = " $prTitle " ;body = " $commitMessage " ;head = " $newBranchName " ;base = " develop " } | ConvertTo-Json
123
+ $prRequestBody = @ {title = " $prTitle " ;body = " $commitMessage " ;head = " $newBranchName " ;base = " $repoMainBranch " } | ConvertTo-Json
125
124
$githubApiEndpoint = " https://api.github.com/repos/nanoframework/nf-Visual-Studio-extension/pulls"
126
125
[Net.ServicePointManager ]::SecurityProtocol = [Net.SecurityProtocolType ]::Tls12
127
126
You can’t perform that action at this time.
0 commit comments