Prerequisites
Steps to reproduce
The "Create GitHub draft release" stage depends on changelog update to be merged:
|
$filePath = "$env:BUILD_SOURCESDIRECTORY/CHANGELOG/$fileName" |
|
Write-Verbose -Verbose "Selected Log file: $filePath" |
|
|
|
if (-not (Test-Path $filePath)) { |
|
throw "$filePath not found" |
|
} |
|
|
|
$changelog = Get-Content -Path $filePath |
|
|
|
$startPattern = "^## \[" + ([regex]::Escape($releaseVersion)) + "\]" |
|
$endPattern = "^## \[{0}\.{1}\.{2}*" -f $semanticVersion.Major, $semanticVersion.Minor, $semanticVersion.Patch |
However, it doesn't call out this dependency in the release pipeline. Therefore, if you start to run this step without having the changelog update merged to the release branch, the "Create GitHub Draft release" job will fail.
Expected behavior
This dependency should be called out in the release -- maybe as an manual approval step, so that the one who drives the release can avoid running into failure in this step.
Actual behavior
This dependency is not called out in the pipeline.
Error details
No response
Environment data
Visuals
No response
Prerequisites
Steps to reproduce
The "Create GitHub draft release" stage depends on changelog update to be merged:
PowerShell/tools/releaseBuild/azureDevOps/templates/release-CreateGitHubDraft.yml
Lines 72 to 82 in e0eb5ca
However, it doesn't call out this dependency in the release pipeline. Therefore, if you start to run this step without having the changelog update merged to the release branch, the
"Create GitHub Draft release"job will fail.Expected behavior
This dependency should be called out in the release -- maybe as an manual approval step, so that the one who drives the release can avoid running into failure in this step.Actual behavior
This dependency is not called out in the pipeline.Error details
No response
Environment data
N/AVisuals
No response