Skip to content

Commit

Permalink
Fix Linux package bin path (#249)
Browse files Browse the repository at this point in the history
Change Linux package bin path and add completion scripts & man pages.
  • Loading branch information
owenthereal authored Apr 19, 2024
1 parent f2a409f commit 6a1c27c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ archives:
- etc/*
- docs/*
brews:
- tap:
- repository:
owner: owenthereal
name: homebrew-upterm
commit_author:
name: Owen Ou
email: o@owenou.com
homepage: https://upterm.dev
description: Instant Terminal Sharing
folder: Formula
directory: Formula
license: "Apache 2.0"
custom_block: |
head "https://github.com/owenthereal/upterm.git"
Expand Down Expand Up @@ -60,9 +60,16 @@ nfpms: #build:linux
- license: Apache-2.0
maintainer: Owen Ou <o@owenou.com>
homepage: https://github.com/owenthereal/upterm
bindir: /usr
bindir: /usr/bin
description: Instant Terminal Sharing
file_name_template: '{{ .PackageName }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
formats:
- deb
- rpm
contents:
- src: "./etc/man/man1/upterm*.1"
dst: "/usr/share/man/man1"
- src: "./etc/completion/upterm.bash_completion.sh"
dst: "/usr/share/bash-completion/completions/upterm"
- src: "./etc/completion/upterm.zsh_completion"
dst: "/usr/share/zsh/site-functions/_upterm"

0 comments on commit 6a1c27c

Please sign in to comment.