forked from ionos-cloud/ionosctl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
96 lines (88 loc) · 2.13 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
version: 2
project_name: ionosctl
before:
hooks:
- go mod tidy
builds:
- id: ionosctl
main: ./main.go
env:
- CGO_ENABLED=0
- GO111MODULE=on
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
- -trimpath
- -mod=vendor
ldflags:
- "-X github.com/ionos-cloud/ionosctl/v6/internal/version.Version={{ .Version }}"
- "-X github.com/ionos-cloud/ionosctl/v6/internal/version.Label=release"
goos:
- windows
- linux
- darwin
goarch:
- amd64
- '386'
- arm64
ignore:
- goos: darwin
goarch: '386'
binary: '{{ .ProjectName }}'
archives:
- id: ionosctl
name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}'
format_overrides:
- goos: windows
format: zip
files:
- docs/*
- LICENSE
- README.md
- CHANGELOG.md
wrap_in_directory: false
scoops:
- repository:
owner: ionos-cloud
name: scoop-bucket
homepage: https://github.com/ionos-cloud/ionosctl
description: IonosCTL is a tool to help you manage your Ionos Cloud resources directly from your terminal.
license: Apache-2.0
brews:
- name: ionosctl
ids:
- ionosctl
repository:
owner: ionos-cloud
name: homebrew-ionos-cloud
directory: Formula
goarm: "7"
homepage: https://github.com/ionos-cloud/ionosctl
description: IonosCTL is a tool to help you manage your Ionos Cloud resources directly from your terminal.
license: Apache-2.0
dependencies:
- name: go
type: optional
install: |-
bin.install "ionosctl"
checksum:
name_template: '{{ .ProjectName }}-{{ .Version }}-SHA256SUMS'
algorithm: sha256
release:
prerelease: auto # Mark as not ready for production if rc tag (i.e. v1.0.0-rc.1)
mode: append
header: |
## [{{ .Tag }}] ({{ .Date }})
# If you want to manually examine the release before it's live, uncomment this line:
# draft: true
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^doc:'
- '^chore:'
- '^test:'
- '^dep:'
- '^deps:'
- '^dependencies:'
disable: false