Skip to content

Add NuGet package for multi-pwsh CLI runtime assets#41

Open
Marc-André Moreau (mamoreau-devolutions) wants to merge 4 commits into
masterfrom
mamoreau-devolutions/nuget-package-plan
Open

Add NuGet package for multi-pwsh CLI runtime assets#41
Marc-André Moreau (mamoreau-devolutions) wants to merge 4 commits into
masterfrom
mamoreau-devolutions/nuget-package-plan

Conversation

@mamoreau-devolutions
Copy link
Copy Markdown
Contributor

Summary

  • add Devolutions.MultiPwsh.Cli NuGet package project that packs multi-pwsh binaries under runtimes/<rid>/native
  • add package MSBuild targets to copy CLI payloads into consumer build/publish output with optional output-name overrides
  • add scripts/Build-CliNativeNuGetPackage.ps1 to build/stage RID binaries, pack the NuGet package, and preserve Unix executable bits in the .nupkg
  • update CI with a NuGet package smoke test that validates PackageReference output copy behavior
  • update release workflow to aggregate RID artifacts, pack the CLI NuGet package, and upload it in release assets
  • document package output and consumption in RELEASE.md

Notes

  • this is a regular NuGet package, not a DotnetTool package
  • release workflow currently packages unsigned Windows binaries (no code-signing step included in this change)

Package multi-pwsh as a regular NuGet package with runtime assets and MSBuild copy targets, add a packaging script, and wire CI/release workflows for packing and smoke testing.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Fix the NuGet package targets to always copy multi-pwsh with fixed runtime file names and remove docs/CI smoke test references to output-name override properties.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Support workflow_dispatch dry runs that build and pack artifacts without publishing GitHub release assets, and upload the CLI NuGet package as a downloadable workflow artifact.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update release workflow to use actions/checkout@v5 and actions/setup-dotnet@v5 to address Node.js 20 deprecation warnings.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mamoreau-devolutions Marc-André Moreau (mamoreau-devolutions) force-pushed the mamoreau-devolutions/nuget-package-plan branch from 47af9fa to 13062c8 Compare June 5, 2026 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant