diff --git a/.goreleaser.yaml b/.goreleaser.yaml index c8376f1..a30e346 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -48,6 +48,8 @@ archives: - zip files: - mdview.1 + - LICENSE + - README.md nfpms: - id: mdview @@ -58,7 +60,9 @@ nfpms: vendor: bugzapperlabs.com maintainer: bugzapperlabs.com description: "Markdown View - Command line utility to format markdown and launch it in a browser." - section: custom + section: utils + license: MIT + homepage: https://github.com/mapitman/mdview priority: optional formats: - deb diff --git a/CLAUDE.md b/CLAUDE.md index 1c10d43..4a8ebc0 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -56,7 +56,7 @@ file with a mermaid block (light and dark mode), and commit the new file. ### Packaging -`.goreleaser.yaml` drives cross-platform binary builds, archives (`.tar.gz`/`.zip`), and `.deb`/ +`.goreleaser.yaml` drives cross-platform binary builds, archives (`.tar.gz`/`.zip`, each with `LICENSE`, `README.md` and the man page), and `.deb`/ `.rpm` packages (via goreleaser's built-in `nfpm` integration — no more hand-rolled `control` file or `dpkg-deb` invocation). `justfile` wraps the `goreleaser` CLI so `just ` stays the single local entry point. `mdview.1.md` (man page source) and `snap/` (built separately via `just snap`,