mirror of
https://github.com/linka-cloud/d2vm.git
synced 2024-11-26 01:26:25 +00:00
goreleaser: add brew support
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
parent
2cd50ff38c
commit
7ad6343e6f
@ -42,10 +42,31 @@ release:
|
|||||||
- glob: LICENCE
|
- glob: LICENCE
|
||||||
- glob: pgp.pub
|
- glob: pgp.pub
|
||||||
archives:
|
archives:
|
||||||
- files:
|
- name_template: '{{ .ProjectName }}_{{ .Env.VERSION }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
|
||||||
|
files:
|
||||||
- LICENCE
|
- LICENCE
|
||||||
- README.md
|
- README.md
|
||||||
- completions/*
|
- completions/*
|
||||||
|
brews:
|
||||||
|
- name: d2vm
|
||||||
|
tap:
|
||||||
|
owner: linka-cloud
|
||||||
|
name: homebrew-tap
|
||||||
|
folder: Formula
|
||||||
|
homepage: https://github.com/linka-cloud/d2vm
|
||||||
|
description: Build Virtual Machine Image from Dockerfile or Docker image
|
||||||
|
license: Apache License 2.0
|
||||||
|
test: |
|
||||||
|
system "#{bin}/d2vm --version"
|
||||||
|
dependencies:
|
||||||
|
- name: go
|
||||||
|
type: optional
|
||||||
|
- name: git
|
||||||
|
install: |-
|
||||||
|
bin.install "d2vm"
|
||||||
|
bash_completion.install "completions/d2vm.bash" => "d2vm"
|
||||||
|
zsh_completion.install "completions/d2vm.zsh" => "_d2vm"
|
||||||
|
fish_completion.install "completions/d2vm.fish"
|
||||||
changelog:
|
changelog:
|
||||||
sort: asc
|
sort: asc
|
||||||
filters:
|
filters:
|
||||||
|
Loading…
Reference in New Issue
Block a user