Publish and sign CLI install scripts#15127
Merged
radical merged 3 commits intorelease/13.2from Mar 11, 2026
Merged
Conversation
Publish get-aspire-cli.sh and get-aspire-cli.ps1 alongside the Aspire CLI artifacts, validate that both scripts exist during publishing, and include the scripts in the blob feed output.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Generate .sha512 files for get-aspire-cli.sh and get-aspire-cli.ps1 in the packages directory so the published installer scripts match the checksum coverage already provided for Aspire CLI archives.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add get-aspire-cli.ps1 to the signing inputs and file sign metadata only when building on Windows so the PowerShell installer script is signed without affecting non-Windows publishing.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 15127Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 15127" |
Contributor
There was a problem hiding this comment.
Pull request overview
Publishes Aspire CLI installer scripts alongside existing CLI release artifacts, including checksum generation and Windows-only signing for the PowerShell installer script.
Changes:
- Adds Windows signing configuration for
get-aspire-cli.ps1. - Publishes
get-aspire-cli.sh/get-aspire-cli.ps1and validates they exist during publishing. - Generates
.sha512checksum files for the installer scripts.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| eng/Signing.props | Adds get-aspire-cli.ps1 to the Windows signing inputs/config. |
| eng/Publishing.props | Publishes installer scripts, validates presence, and generates checksum files for them. |
Contributor
🎬 CLI E2E Test RecordingsThe following terminal recordings are available for commit
📹 Recordings uploaded automatically from CI run #22937599277 |
JamesNK
approved these changes
Mar 11, 2026
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.
Description
Publishes the Aspire CLI installer scripts together with the existing CLI artifacts on the release/13.2 branch.
get-aspire-cli.shandget-aspire-cli.ps1to the blob feed and validates that both scripts exist during publishing..sha512checksum files for both install scripts alongside the existing CLI archive checksums.get-aspire-cli.ps1on Windows only so the PowerShell installer script participates in the existing signing flow without changing non-Windows publishing behavior.This keeps the installer scripts distributed alongside the CLI archives and brings their checksum and signing behavior in line with the release pipeline expectations.
Dependencies: none.
Validation:
./restore.sh./build.sh --build /p:SkipNativeBuild=trueFixes # (issue)
Checklist
<remarks />and<code />elements on your triple slash comments?aspire.devissue: