mirror of
https://github.com/passbolt/go-passbolt-cli.git
synced 2025-09-13 06:59:07 +00:00
rename executable, add goreleaser
This commit is contained in:
parent
ecbb7c88cd
commit
78d3c80b28
7 changed files with 88 additions and 6 deletions
49
.goreleaser.yml
Normal file
49
.goreleaser.yml
Normal file
|
@ -0,0 +1,49 @@
|
|||
project_name: go-passbolt-cli
|
||||
builds:
|
||||
- env: [CGO_ENABLED=0]
|
||||
goos:
|
||||
- linux
|
||||
- windows
|
||||
- darwin
|
||||
goarch:
|
||||
- amd64
|
||||
- arm64
|
||||
binary: passbolt
|
||||
hooks:
|
||||
post: |
|
||||
./passbolt completion bash > bash-completion
|
||||
./passbolt completion zsh > zsh-completion
|
||||
./passbolt completion fish > fish-completion
|
||||
mkdir man
|
||||
./passbolt gendoc --type man
|
||||
archives:
|
||||
- replacements:
|
||||
darwin: Darwin
|
||||
linux: Linux
|
||||
windows: Windows
|
||||
386: i386
|
||||
amd64: x86_64
|
||||
release:
|
||||
draft: true
|
||||
header: |
|
||||
## Release {{ .Tag }} - ({{ .Date }})
|
||||
nfpms:
|
||||
- maintainer: Samuel Lorch <sam@lorch.net>
|
||||
description: A CLI for Passbolt.
|
||||
homepage: https://github.com/speatzle/go-passbolt-cli
|
||||
license: MIT
|
||||
contents:
|
||||
- src: bash-completion
|
||||
dst: /usr/share/bash-completion/completions/passbolt
|
||||
- src: zsh-completion
|
||||
dst: /usr/share/zsh/site-functions/_passbolt
|
||||
- src: fish-completion
|
||||
dst: /usr/share/fish/vendor_completions.d/passbolt.fish
|
||||
- src: man/*
|
||||
dst: /usr/share/man/man1/
|
||||
recommends:
|
||||
- bash_completion
|
||||
formats:
|
||||
- deb
|
||||
- rpm
|
||||
- apk
|
Loading…
Add table
Add a link
Reference in a new issue