UpdateDeps to match maestro (#1105)
This commit is contained in:
parent
da4aaa09f7
commit
3ce1b4d1d5
|
|
@ -1,10 +1,11 @@
|
||||||
|
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param(
|
param(
|
||||||
[string]$GitHubEmail,
|
[string]$GithubEmail,
|
||||||
[string]$GitHubUsername,
|
[string]$GithubUsername,
|
||||||
[string]$GitHubPassword
|
[string]$GithubToken
|
||||||
)
|
)
|
||||||
|
# This script only works against dev/master at the moment because only master prod-con builds allow you to access their results before the entire chain is finished.
|
||||||
|
|
||||||
$ErrorActionPreference = 'Stop'
|
$ErrorActionPreference = 'Stop'
|
||||||
Import-Module -Scope Local -Force "$PSScriptRoot/common.psm1"
|
Import-Module -Scope Local -Force "$PSScriptRoot/common.psm1"
|
||||||
|
|
@ -28,7 +29,7 @@ Invoke-WebRequest -OutFile $localCoreSetupVersions -Uri $coreSetupVersions
|
||||||
$msNetCoreAppPackageVersion = $null
|
$msNetCoreAppPackageVersion = $null
|
||||||
$msNetCoreAppPackageName = "Microsoft.NETCore.App"
|
$msNetCoreAppPackageName = "Microsoft.NETCore.App"
|
||||||
|
|
||||||
Set-GitHubInfo $GitHubPassword $GitHubUsername $GitHubEmail
|
Set-GitHubInfo $GithubToken $GithubUsername $GithubEmail
|
||||||
|
|
||||||
$variables = @{}
|
$variables = @{}
|
||||||
|
|
||||||
|
|
@ -114,7 +115,7 @@ try {
|
||||||
$body = CommitUpdatedVersions $updatedVars $dependencies $depsPath
|
$body = CommitUpdatedVersions $updatedVars $dependencies $depsPath
|
||||||
|
|
||||||
if ($body) {
|
if ($body) {
|
||||||
CreatePR $baseBranch $destinationBranch $body $GitHubPassword
|
CreatePR $baseBranch $destinationBranch $body $GithubToken
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue