Skip to content

Only sign NuGet packages on v* tag releases#639

Merged
mmsmits merged 1 commit intodevelopfrom
fix/trusted-signing-tag-only
Mar 2, 2026
Merged

Only sign NuGet packages on v* tag releases#639
mmsmits merged 1 commit intodevelopfrom
fix/trusted-signing-tag-only

Conversation

@mmsmits
Copy link
Copy Markdown
Member

@mmsmits mmsmits commented Mar 2, 2026

Signing with Azure Trusted Signing is only needed when publishing to NuGet. This change ensures the signing step is skipped on regular branch builds and only runs when triggered by a v* release tag.

Signing with Azure Trusted Signing is only needed when publishing to
NuGet. Skip it on all non-tag builds to avoid unnecessary cost and time.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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 updates the Azure DevOps pipeline to only provide Azure Trusted Signing configuration when the build is running from a v* git tag, aligning signing with NuGet release builds rather than regular branch builds.

Changes:

  • Wrap Azure Trusted Signing parameters in a compile-time conditional that only applies on refs/tags/v* builds.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mmsmits mmsmits requested a review from Devyanichugh March 2, 2026 14:30
@mmsmits mmsmits merged commit a1913a5 into develop Mar 2, 2026
6 checks passed
@mmsmits mmsmits deleted the fix/trusted-signing-tag-only branch March 2, 2026 15:14
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