Update branch name and description of dotnet-maestro-bot prs
This commit is contained in:
parent
c98b2d1089
commit
c2a267b085
|
|
@ -59,7 +59,7 @@ foreach ($line in Get-Content $localCoreSetupVersions) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$msNetCoreAppPackageVersion) {
|
if (!$msNetCoreAppPackageVersion) {
|
||||||
Throw "$msNetCoreAppPackageName was not in $coreSetupVersions"
|
throw "$msNetCoreAppPackageName was not in $coreSetupVersions"
|
||||||
}
|
}
|
||||||
|
|
||||||
$coreAppDownloadLink = "https://dotnet.myget.org/F/dotnet-core/api/v2/package/$msNetCoreAppPackageName/$msNetCoreAppPackageVersion"
|
$coreAppDownloadLink = "https://dotnet.myget.org/F/dotnet-core/api/v2/package/$msNetCoreAppPackageName/$msNetCoreAppPackageVersion"
|
||||||
|
|
@ -112,7 +112,7 @@ if (-not $NoCommit) {
|
||||||
Invoke-Block { & git fetch origin }
|
Invoke-Block { & git fetch origin }
|
||||||
|
|
||||||
$currentBranch = Invoke-Block { & git rev-parse --abbrev-ref HEAD }
|
$currentBranch = Invoke-Block { & git rev-parse --abbrev-ref HEAD }
|
||||||
$destinationBranch = "rybrande/UpgradeDepsTest"
|
$destinationBranch = "upgrade-netcore-deps"
|
||||||
|
|
||||||
Invoke-Block { & git checkout -tb $destinationBranch "origin/$baseBranch" }
|
Invoke-Block { & git checkout -tb $destinationBranch "origin/$baseBranch" }
|
||||||
}
|
}
|
||||||
|
|
@ -120,7 +120,7 @@ if (-not $NoCommit) {
|
||||||
try {
|
try {
|
||||||
$updatedVars = UpdateVersions $variables $dependencies $depsPath
|
$updatedVars = UpdateVersions $variables $dependencies $depsPath
|
||||||
if (-not $NoCommit) {
|
if (-not $NoCommit) {
|
||||||
$body = CommitUpdatedVersions $updatedVars $dependencies $depsPath
|
$body = CommitUpdatedVersions $updatedVars $dependencies $depsPath "Upgrade to .NET Core $msNetCoreAppPackageVersion"
|
||||||
|
|
||||||
if ($body) {
|
if ($body) {
|
||||||
CreatePR "aspnet" $GithubUsername $baseBranch $destinationBranch $body $GithubToken
|
CreatePR "aspnet" $GithubUsername $baseBranch $destinationBranch $body $GithubToken
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue