6
0
mirror of https://github.com/grdl/git-get.git synced 2026-02-10 12:34:23 +00:00

Add man page to releases and man page generator to makefile

This commit is contained in:
Grzegorz Dlugoszewski
2025-08-25 21:35:42 +02:00
parent 6b0a047455
commit 6ade4866f4
5 changed files with 546 additions and 3 deletions

View File

@@ -3,6 +3,8 @@ version: 2
before:
hooks:
- go mod download
- go tool go-md2man -in README.md -out docs/git-get.1
- gzip -k docs/git-get.1
builds:
- id: git-get
@@ -86,6 +88,7 @@ brews:
install: |
bin.install "git-get"
bin.install_symlink "git-get" => "git-list"
man1.install "docs/git-get.1"
test: |
system "#{bin}/git-get", "--version"
system "#{bin}/git-list", "--version"
@@ -107,6 +110,10 @@ nfpms:
- src: /usr/local/bin/git-get
dst: /usr/local/bin/git-list
type: "symlink"
- src: docs/git-get.1.gz
dst: /usr/share/man/man1/git-get.1.gz
file_info:
mode: 0644
scoops:
- name: git-get