File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ project_name: opslevel-agent
33before :
44 hooks :
55 - go mod tidy
6+
67builds :
78 - env :
89 - CGO_ENABLED=0
@@ -12,19 +13,19 @@ builds:
1213 goos :
1314 - linux
1415 - darwin
15- goarch :
16- - amd64
17- - ' 386'
18- - arm
19- - arm64
20- ignore :
21- - goos : darwin
22- goarch : ' 386'
2316 binary : ' {{ .ProjectName }}'
17+
2418archives :
25- - name_template : ' {{ .ProjectName }}-{{ .Os }}-{{ .Arch }}'
26- source :
27- enabled : true
19+ - formats : [tar.gz]
20+ # this name template makes the OS and Arch compatible with the results of `uname`.
21+ name_template : >-
22+ {{ .ProjectName }}_
23+ {{- title .Os }}_
24+ {{- if eq .Arch "amd64" }}x86_64
25+ {{- else if eq .Arch "386" }}i386
26+ {{- else }}{{ .Arch }}{{ end }}
27+ {{- if .Arm }}v{{ .Arm }}{{ end }}
28+
2829dockers :
2930 - image_templates :
3031 - " public.ecr.aws/opslevel/opslevel-agent:latest"
@@ -33,6 +34,7 @@ dockers:
3334 - " --label=org.opencontainers.image.created={{ .Date }}"
3435 - " --label=org.opencontainers.image.revision={{ .FullCommit }}"
3536 - " --label=org.opencontainers.image.version={{ .Tag }}"
37+
3638brews :
3739 - name : opslevel-agent
3840 description : " Main repository for the OpsLevel agent"
@@ -74,10 +76,15 @@ signs:
7476 - " ${signature}"
7577 - " --detach-sign"
7678 - " ${artifact}"
79+
7780changelog :
7881 sort : desc
7982 filters :
8083 exclude :
8184 - " ^Merge"
8285release :
83- prerelease : auto
86+ footer : >-
87+
88+ ---
89+
90+ Released by [GoReleaser](https://github.com/goreleaser/goreleaser).
You can’t perform that action at this time.
0 commit comments