Skip to content

chore: Consolidate publish pipelines into single workflow#415

Merged
singhk97 merged 2 commits intomainfrom
consolidate-publish-pipelines
Apr 7, 2026
Merged

chore: Consolidate publish pipelines into single workflow#415
singhk97 merged 2 commits intomainfrom
consolidate-publish-pipelines

Conversation

@singhk97
Copy link
Copy Markdown
Collaborator

@singhk97 singhk97 commented Apr 6, 2026

Summary

  • Consolidates publish-preview.yaml and publish.yml into a single publish.yaml pipeline
  • Updates RELEASE.md documentation with correct pipeline names and branching strategy
  • Removes redundant publish.yml file

Details

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

  1. Renamed .azdo/publish-preview.yaml.azdo/publish.yaml

    • Updated comments and display names to remove "preview-only" language
    • Changed artifact names from PreviewPackages to Packages
    • Kept the Internal/Public parameter structure
  2. Deleted .azdo/publish.yml (now redundant)

  3. Updated RELEASE.md

    • Corrected pipeline names: Teams.NET-ESRP and Teams.NET-PR
    • Documented branching strategy:
      • Preview releases: publish from main branch
      • Stable releases: publish from releases/v2 branch (merge main → releases/v2, update version.json)
    • Consolidated documentation from two pipelines into one

Test plan

  • Verify pipeline appears correctly in Azure DevOps as Teams.NET-ESRP
  • Test Internal publish from main branch (preview version) [Kavin: released 2.0.7-preview.0001]
  • Test Public publish from main branch (preview version) [Kavin: released 2.0.6 preview version
  • Test publish from releases/v2 branch (stable version) when ready for release [Kavin: released 2.0.6]

🤖 Generated with Claude Code

- 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>
Copilot AI review requested due to automatic review settings April 6, 2026 17:17
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.yaml into .azdo/publish.yaml and removed “preview-only” naming (artifact PreviewPackagesPackages, updated display names/comments).
  • Deleted redundant .azdo/publish.yml.
  • Updated RELEASE.md to 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.

Copy link
Copy Markdown
Contributor

@corinagum corinagum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@singhk97 singhk97 enabled auto-merge (squash) April 7, 2026 20:05
@singhk97 singhk97 merged commit e10c5ee into main Apr 7, 2026
7 checks passed
@singhk97 singhk97 deleted the consolidate-publish-pipelines branch April 7, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants