-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathgoreleaser_cli.yaml
78 lines (77 loc) · 1.55 KB
/
goreleaser_cli.yaml
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
project_name: mgccli
version: 2
builds:
- env: [CGO_ENABLED=0]
id: "mgc"
goos:
- linux
- darwin
- freebsd
binary: mgc
goarch:
- amd64
- arm64
ldflags:
- -s -w -X github.com/MagaluCloud/magalu/sdk.Version={{.Version}}"
flags:
- -tags=embed release
main: mgc/cli/main.go
- env: [CGO_ENABLED=0]
id: "mgcwin"
goos:
- windows
binary: mgc
goarch:
- amd64
- arm64
ldflags:
- -s -w -X github.com/MagaluCloud/magalu/sdk.Version={{.Version}}"
flags:
- -tags=embed release
main: mgc/cli/main.go
archives:
- id: mgc
builds:
- mgc
- id: mgcwin
format: zip
builds:
- mgcwin
nfpms:
- maintainer: Magalu Cloud <[email protected]>
id: mgc
description: MGC CLI.
homepage: https://magalu.cloud/
license: "GPL-3.0"
package_name: mgccli
bindir: /usr/bin
formats:
- deb
- rpm
builds:
- mgc
brews:
- name: mgccli
homepage: "https://magalu.cloud"
license: "GPL-3.0"
repository:
owner: MagaluCloud
name: homebrew-mgccli
branch: "{{.ProjectName}}-v{{.Version}}"
git:
url: "[email protected]:MagaluCloud/homebrew-mgccli.git"
private_key: "{{ .Env.PRIVATE_KEY_PATH }}"
commit_author:
name: MagaluCloud
email: [email protected]
ids:
- mgc
release:
replace_existing_artifacts: true
github:
owner: MagaluCloud
name: mgccli
draft: true
prerelease: true
header: |
## CLI ({{ .Date }})