-
Notifications
You must be signed in to change notification settings - Fork 87
/
.goreleaser.yml
82 lines (82 loc) · 2.09 KB
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
project_name: civo
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- 386
- amd64
- arm
- arm64
ignore:
- goos: darwin
goarch: 386
- goos: windows
goarch: 386
ldflags:
- -s -w -X github.com/civo/cli/common.VersionCli={{.Version}} -X github.com/civo/cli/common.CommitCli={{.Commit}} -X github.com/civo/cli/common.DateCli={{.Date}}
checksum:
name_template: "{{ .ProjectName }}-{{ .Version }}-checksums.sha256"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- Merge pull request
- Merge branch
archives:
- name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
brews:
- name: civo
tap:
owner: civo
name: homebrew-tools
commit_author:
name: civobot
email: hello@civo.com
folder: Formula
homepage: "https://github.com/civo/cli"
description: "CLI for managing Civo resources."
dockers:
- goos: linux
goarch: amd64
ids:
- civo
image_templates:
- "civo/cli:latest"
- "civo/cli:{{ .Tag }}"
dockerfile: docker/Dockerfile
nfpms:
- file_name_template: '{{ .ProjectName }}_{{ .Arch }}'
homepage: https://github.com/civo/cli
description: Our Command Line Interface (CLI) for interacting with your Civo resources
maintainer: Alejandro J. Nuñez Madrazo <alejandro@civo.com>
license: MIT
vendor: Civo
formats:
- deb
- rpm
# snapcrafts:
# - name_template: "{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
# summary: Tool to handler all Civo cloud resource
# description: |
# Civo CLI is a tool to handler all resource inside the Civo cloud, from the console.
# grade: stable
# confinement: strict
# publish: true
# apps:
# civo:
# plugs: ["network", "network-bind", "home", "personal-files"]
# plugs:
# personal-files:
# read:
# - $HOME/.civo.json
# write:
# - $HOME/.civo.json