mirror of
https://github.com/microsoft/mcp.git
synced 2026-11-04 12:01:31 +00:00
* Add DevOps chron job to automate Azure.Mcp release prep * Clean up testing a bit * Fix GitHub pull request retrieval logic Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
29 lines
621 B
PowerShell
29 lines
621 B
PowerShell
#!/usr/bin/env pwsh
|
|
#Requires -Version 7
|
|
|
|
[CmdletBinding()]
|
|
param(
|
|
[Parameter(Mandatory)]
|
|
[ValidateNotNullOrEmpty()]
|
|
[string[]]$ReleaseOwners,
|
|
|
|
[Parameter(Mandatory)]
|
|
[datetime]$ReleaseDate,
|
|
|
|
[Parameter(Mandatory)]
|
|
[uri]$BuildUrl
|
|
)
|
|
|
|
$ErrorActionPreference = 'Stop'
|
|
|
|
. "$PSScriptRoot\..\common\scripts\common.ps1"
|
|
. "$PSScriptRoot\helpers\ReleasePrepHelpers.ps1"
|
|
|
|
Invoke-ReleasePrepPullRequest `
|
|
-RepositoryRoot $RepoRoot.Path `
|
|
-ReleaseOwners $ReleaseOwners `
|
|
-ReleaseDate $ReleaseDate `
|
|
-BuildUrl $BuildUrl `
|
|
-GitHubToken $env:GH_TOKEN `
|
|
-PushToken $env:GH_PUSH_TOKEN
|