Added hook to create man page and include in release

This commit is contained in:
David Allen 2024-08-29 12:07:30 -06:00
parent 329e8390bd
commit babee3dbcd
Signed by: towk
GPG key ID: 793B2924A49B3A3F

View file

@ -3,6 +3,9 @@ version: 2
before: before:
hooks: hooks:
- go mod download - go mod download
- go install github.com/cpuguy83/go-md2man/v2
- go-md2man -in README.md -out manpage.1
builds: builds:
- env: - env:
- CGO_ENABLED=1 - CGO_ENABLED=1
@ -25,6 +28,7 @@ archives:
- CHANGELOG.md - CHANGELOG.md
- README.md - README.md
- bin/magellan.sh - bin/magellan.sh
- magellan.1
dockers: dockers:
- -
image_templates: image_templates: