chore: Consolidate publish pipelines into single workflow#415
Merged
Conversation
- Rename publish-preview.yaml to publish.yaml as the unified publish pipeline - Remove publish.yml (redundant - functionality covered by publish.yaml) - Update RELEASE.md with correct pipeline names (Teams.NET-ESRP, Teams.NET-PR) - Document branching strategy: preview releases from main, stable releases from releases/v2 - Versioning determined by nbgv, so same pipeline handles both preview and stable releases Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR consolidates the Azure DevOps publish pipelines into a single manually-triggered workflow and updates release documentation to match the new pipeline structure, relying on Nerdbank.GitVersioning (version.json) to differentiate preview vs stable versions.
Changes:
- Consolidated
.azdo/publish-preview.yamlinto.azdo/publish.yamland removed “preview-only” naming (artifactPreviewPackages→Packages, updated display names/comments). - Deleted redundant
.azdo/publish.yml. - Updated
RELEASE.mdto reference the consolidated pipeline and describe a branch-based preview/stable release strategy.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
RELEASE.md |
Updates pipeline naming and documents the new unified publish flow and branching strategy. |
.azdo/publish.yaml |
Renames/updates the publish pipeline semantics and artifact naming to be non-preview-specific. |
.azdo/publish.yml |
Removes the old production publish pipeline as redundant. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
publish-preview.yamlandpublish.ymlinto a singlepublish.yamlpipelinepublish.ymlfileDetails
Since versioning is determined by Nerdbank.GitVersioning (nbgv) from
version.json, we don't need separate pipelines for preview and production releases. The same pipeline can handle both based on the branch and version.json configuration.Changes Made
Renamed
.azdo/publish-preview.yaml→.azdo/publish.yamlPreviewPackagestoPackagesInternal/Publicparameter structureDeleted
.azdo/publish.yml(now redundant)Updated
RELEASE.mdTeams.NET-ESRPandTeams.NET-PRmainbranchreleases/v2branch (merge main → releases/v2, update version.json)Test plan
Teams.NET-ESRPmainbranch (preview version) [Kavin: released 2.0.7-preview.0001]mainbranch (preview version) [Kavin: released 2.0.6 preview versionreleases/v2branch (stable version) when ready for release [Kavin: released 2.0.6]🤖 Generated with Claude Code