Skip to content

Update pipeline to release to Pwsh Module CFS Feed - #2076

Merged
Anam Navied (anamnavi) merged 6 commits into
PowerShell:masterfrom
anamnavi:update-pipeline-cfs-pwsh
Nov 2, 2026
Merged

Anam Navied (anamnavi) merged 6 commits into
PowerShell:masterfrom
anamnavi:update-pipeline-cfs-pwsh

Conversation

@anamnavi

Copy link
Copy Markdown
Member

PR Summary

Update pipeline to release to Pwsh Module CFS Feed

PR Context

PR Checklist

Fix path in retrieving downloaded nupkg step

----
#### AI description  (iteration 1)
#### PR Classification
Bug fix: corrects an incorrect file path used when retrieving the downloaded nupkg artifact in the build pipeline.

#### PR Summary
Fixes the pipeline path used to locate the downloaded nupkg by removing an incorrect extra directory segment.
- `.pipelines/PSResourceGet-Official.yml`: Updated path from `$(Pipeline.Workspace)\drop_stagebuild_nupkg\PSResourceGet\signed\...` to `$(Pipeline.Workspace)\PSResourceGet\signed\...` in both the "Verify downloaded .nupkg is present" and nupkg publishing steps.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

The new publish-only OneBranch job needs Azure DevOps validation because it inherits compiled CodeQL scanning without the override used by existing publishing jobs, and the external governed template is unavailable in this checkout.

No open issues 🎉

What changed in this PR

Updates the official release pipeline to support publishing PSResourceGet to the PowerShell module CFS feed, with independent controls for each release destination.

Changes:

  • Replaces onlyPublishToCFSFeed with three opt-in publishing flags, all defaulting to false.
  • Adds a PowerShell module CFS stage that downloads the signed package and pushes it to the early-access feed.
  • Gates the existing MAR CFS and PSGallery stages on their respective flags.
File Description
.pipelines/​PSResourceGet-Official.yml Adds the PowerShell module CFS publishing stage and independent release controls.

Review effort: Balanced

@anamnavi
Anam Navied (anamnavi) merged commit e708511 into PowerShell:master Nov 2, 2026
4 checks passed
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