From ae21434f1e729a9dbb21bcb1db7a05f069d55ef3 Mon Sep 17 00:00:00 2001 From: Stuart Meeks Date: Sun, 3 May 2026 05:19:42 +0000 Subject: [PATCH] v0.1.2: portable DebugType so snupkg actually ships symbols - DebugType=embedded produced an empty .snupkg (no .pdb files; debug info was inside the .dll). nuget.org rejects empty symbol packages. Switching to DebugType=portable produces a real .pdb alongside the .dll; the .snupkg now contains it. - ci.yml: upload-artifact path is now `*nupkg` (matches both .nupkg and .snupkg) so the publish job pushes both. Previously the artifact only contained the .nupkg, so the snupkg silently never reached nuget. The .nupkg is also slightly smaller as a side effect (debug info no longer embedded). No API or behaviour changes. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/ci.yml | 5 ++++- CHANGELOG.md | 17 +++++++++++++++++ .../NextIteration.SpectreConsole.Splash.csproj | 4 ++-- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 169ef25..314340b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,10 @@ jobs: uses: actions/upload-artifact@v6 with: name: nuget-package - path: ./artifacts/*.nupkg + # Capture both .nupkg and .snupkg so the publish job's + # `dotnet nuget push *.nupkg` can also push the matching + # symbol package next to it. + path: ./artifacts/*nupkg publish: needs: build diff --git a/CHANGELOG.md b/CHANGELOG.md index 708b8f6..f6c92d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 --- +## [0.1.2] — 2026-05-03 + +### Changed + +- **Symbol packaging.** Switched `` from `embedded` to `portable` + so the published `.snupkg` actually contains `.pdb` files. The previous + combination produced an empty `.snupkg` — fine for the workflow (which + uploaded only `*.nupkg` as an artifact, silently dropping the symbol + package), but it meant no symbols ever reached nuget.org's symbol + server. Consumers debugging into the library now get sources via the + symbol server out of the box. +- **CI artifact path.** `upload-artifact` now captures `*nupkg` (both + `.nupkg` and `.snupkg`) so the publish job pushes both files. + +--- + ## [0.1.1] — 2026-04-18 ### Changed @@ -46,5 +62,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 interpolation, colour validation, tagline strategies, renderer output, and the quote pool). +[0.1.2]: https://github.com/StuartMeeks/NextIteration.SpectreConsole.Splash/releases/tag/v0.1.2 [0.1.1]: https://github.com/StuartMeeks/NextIteration.SpectreConsole.Splash/releases/tag/v0.1.1 [0.1.0]: https://github.com/StuartMeeks/NextIteration.SpectreConsole.Splash/releases/tag/v0.1.0 diff --git a/src/NextIteration.SpectreConsole.Splash/NextIteration.SpectreConsole.Splash.csproj b/src/NextIteration.SpectreConsole.Splash/NextIteration.SpectreConsole.Splash.csproj index 30b996f..0031a99 100644 --- a/src/NextIteration.SpectreConsole.Splash/NextIteration.SpectreConsole.Splash.csproj +++ b/src/NextIteration.SpectreConsole.Splash/NextIteration.SpectreConsole.Splash.csproj @@ -11,7 +11,7 @@ NextIteration.SpectreConsole.Splash - 0.1.1 + 0.1.2 Stuart Meeks Configurable Figgle + Spectre.Console splash screen for .NET CLIs — gradient palette, pluggable tagline strategy, single-markup-call render path. true @@ -30,7 +30,7 @@ true true snupkg - embedded + portable true