Skip to content

chore(release): publish only the CLI + template to NuGet (source-ownership)#1272

Merged
iammukeshm merged 1 commit into
mainfrom
chore/release-nuget-source-ownership
May 30, 2026
Merged

chore(release): publish only the CLI + template to NuGet (source-ownership)#1272
iammukeshm merged 1 commit into
mainfrom
chore/release-nuget-source-ownership

Conversation

@iammukeshm
Copy link
Copy Markdown
Member

Re-applies the release-packaging fix that missed the #1271 merge window (the PR was merged at its 2nd commit, before this fix was pushed).

The publish-release job packed per-module / BuildingBlocks NuGets (only 4 of 10 modules, inconsistently) and pushed them to NuGet.org — contradicting the locked source-ownership distribution model, where consumers get the full source via dotnet new fsh, not runtime packages. Now only two artifacts publish: the fsh global CLI tool and the dotnet new template.

Also suppresses NU5110/NU5111 on the template pack — the bundled Terraform deploy.ps1 files are template content, not NuGet install scripts, and must not be moved to tools/ or renamed.

Verified by scaffolding DemoPush from the template and confirming it packs clean and builds (0/0).

🤖 Generated with Claude Code

…rship); silence template-pack warnings

The publish-release job packed per-module/BuildingBlocks NuGets (only 4 of 10
modules, inconsistently) and pushed them — contradicting the locked source-ownership
distribution model where consumers get the full source via `dotnet new fsh`, not
runtime packages. Only the `fsh` CLI tool and the template package now publish.

Also suppress NU5110/NU5111 on the template pack: the bundled Terraform deploy.ps1
files are template content, not NuGet install scripts, and must stay where they are.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@iammukeshm iammukeshm merged commit aa2b055 into main May 30, 2026
14 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.

1 participant