Repository navigation
Sign Source Asset for Source-Build Release - #4937
Conversation
|
This PR requires #4933 before it can be merged. I am adding the |
There was a problem hiding this comment.
Pull request overview
This PR enables signing and signature verification of source-built source assets for .NET releases. The implementation adds support for creating detached PGP signatures (.sig files) for source tarballs as part of the post-build signing process, addressing requirements from dotnet/release#1416.
Changes:
- Adds LinuxSign500180PGP certificate configuration for signing source assets with detached signatures
- Creates empty placeholder .sig files during build to ensure they are included in artifact publishing
- Enables source artifact signing in the signing workflow by uncommenting previously disabled code
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| eng/tools/tasks/Microsoft.DotNet.UnifiedBuild.Tasks/static/Signing.props | Adds certificate configuration and FileSignInfo target to sign source tarballs with detached signatures using DoNotUnpack=true |
| eng/tools/tasks/Microsoft.DotNet.UnifiedBuild.Tasks/CreateSourceArtifact.cs | Adds CreateEmptyDetachedSignature property and logic to create empty .sig placeholder files alongside source artifacts |
| eng/sign-source-built-artifacts.proj | Enables source artifact signing by uncommenting the source tarball item groups and validation checks |
| eng/finish-source-only.proj | Passes CreateEmptyDetachedSignature parameter to CreateSourceArtifact task based on DotNetSourceOnlyPostBuildSign property |
| eng/PublishSourceBuild.props | Updates file patterns to include signature files ($(ArchiveExtension)) for publishing source artifacts and their signatures |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@dotnet/source-build - friendly ping for a review |
|
/azp run dotnet-unified-build-full |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@dotnet/source-build - the build failures are unrelated to my changes. See the successful SB signing leg here. Can I get help merging this PR? Thanks in advance. |
Are they for sure unrelated? The OSX leg failed in SignTool: |
Yeah. This PR just enables the signing of the source asset in the |
Related to https://github.com/dotnet/release/issues/1416
This PR enables the signing and signature verification of the source-built source-asset
Dry-run signing run