Skip to content

Commit

Permalink
Include man page
Browse files Browse the repository at this point in the history
  • Loading branch information
jessp01 committed Mar 4, 2025
1 parent 8de76f2 commit 3544e4c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ before:
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...
- go install github.com/cpuguy83/go-md2man@latest
- go-md2man -in md2pdf.1.md -out md2pdf.1
- gzip md2pdf.1

builds:
- env: [CGO_ENABLED=0]
Expand Down Expand Up @@ -86,6 +89,11 @@ nfpms:
expand: true
file_info:
mode: 0644
- src: ./md2pdf.1.gz
dst: /usr/share/man/man1/
expand: true
file_info:
mode: 0644
formats:
- deb
- rpm
Expand Down

0 comments on commit 3544e4c

Please sign in to comment.