Skip to content

Package icon, GitHub Packages mirror, live NuGet badge; bump to 1.3.2 - #24

Merged
danielmeza merged 3 commits into
mainfrom
build/package-icon-and-feeds
Sep 22, 2026
Merged

danielmeza merged 3 commits into
mainfrom
build/package-icon-and-feeds

Conversation

@danielmeza

Copy link
Copy Markdown
Owner

Fixes three things visible after 1.3.1, and one leftover from #22.

Package icon

nuget.org showed the default icon because no package set PackageIcon. Every package now embeds docs/logo.png (the README logo, 128 px as nuget.org recommends) as icon.png. I checked a local pack: icon.png sits at the package root and the .nuspec declares <icon>icon.png</icon>.

GitHub Packages: fills the repo's "Packages" sidebar

The sidebar only lists packages in GitHub Packages, and we only published to nuget.org. A new publish-github-packages job in release.yml pushes the .nupkg files to nuget.pkg.github.com/<owner> with GITHUB_TOKEN (packages: write).

  • Linking: GitHub links NuGet packages to a repo through the <repository url> in the .nuspec, which we already emit. NuGet packages there take the repository's visibility.
  • Scope: nuget.org stays the main feed. No symbols are pushed, because GitHub Packages has no symbol server.
  • Backfill: I couldn't backfill 1.3.1 from my machine; the permission guard blocked a local publish to a public registry. The 1.3.2 release will be the first version to fill the sidebar.

NuGet badge that updates on publish

img.shields.io/nuget/v reads NuGet's search index, which can lag a publish by up to an hour. After 1.3.1 went live it still said 1.3.0, while the registration and flat-container indexes already had 1.3.1. The README badge now reads the flat-container index through shields' dynamic JSON badge, which already shows v1.3.1 and caches for only 2 minutes. img.shields.io is on nuget.org's image allowlist.

Leftover from #22

#22 added docs/ESC-POS-Notes.md but never committed removing the root ESCPOS.md (a git reset while splitting commits dropped the staged deletion), so main has two identical copies. This removes the root one; nothing links to it.

Version

Bumped to 1.3.2, because the icon only reaches nuget.org with a new package version. Tag v1.3.2 after merging.

🤖 Generated with Claude Code

danielmeza and others added 3 commits September 22, 2026 00:34
#22 added docs/ESC-POS-Notes.md but never committed removing the root copy (a `git reset` while
splitting the commits dropped the staged deletion), so main has two identical files. Remove the
root one; nothing links to it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…on publish

- Package icon: every package now embeds docs/logo.png (the README logo, 128 px as nuget.org
  recommends) as icon.png, so nuget.org shows the app icon instead of the default.
- GitHub Packages: a new release job also pushes the .nupkg files to nuget.pkg.github.com with
  GITHUB_TOKEN. GitHub links them to this repository through the RepositoryUrl in each .nuspec, which
  fills the empty "Packages" sidebar. nuget.org stays the main feed; no symbols are pushed, because
  GitHub Packages has no symbol server.
- NuGet badge: img.shields.io/nuget/v reads NuGet's search index, which can lag a publish by an hour
  (it still said 1.3.0 after 1.3.1 was live). The badge now reads the flat-container index, which
  updates within minutes.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@danielmeza
danielmeza merged commit 19aa4ca into main Sep 22, 2026
1 check 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