Skip to content

Sync eng/common directory with azure-sdk-tools for PR 11745 #2932

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
parameters:
ConfigFileDir: ''
PackageArtifactName: ''
SourceRootPath: $(Build.SourcesDirectory)

steps:
- task: AzureCLI@2
inputs:
azureSubscription: opensource-api-connection
scriptType: pscore
scriptLocation: scriptPath
scriptPath: $(Build.SourcesDirectory)/eng/common/scripts/Mark-ReleasePlanCompletion.ps1
scriptPath: ${{ parameters.SourceRootPath }}/eng/common/scripts/Mark-ReleasePlanCompletion.ps1
arguments: -PackageInfoFilePath '${{ parameters.ConfigFileDir }}/${{ parameters.PackageArtifactName }}.json'
workingDirectory: $(Pipeline.Workspace)
displayName: Mark package as released
Expand Down
2 changes: 1 addition & 1 deletion eng/common/scripts/Helpers/DevOps-WorkItem-Helpers.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ function Get-ReleasePlanForPackage($packageName)
$fieldList = ($fields | ForEach-Object { "[$_]"}) -join ", "
$query = "SELECT ${fieldList} FROM WorkItems WHERE [Work Item Type] = 'Release Plan' AND [${packageNameFieldName}] = '${packageName}'"
$query += " AND [${prStatusFieldName}] = 'merged'"
$query += " AND [System.State] IN ('In Progress') ORDER BY [System.CreatedDate]"
$query += " AND [System.State] IN ('In Progress')"
$query += " AND [System.Tags] NOT CONTAINS 'Release Planner App Test'"
$workItems = Invoke-Query $fields $query
return $workItems
Expand Down