Skip to content

Commit 001c1b0

Browse files
committed
add aarch64 release
1 parent 4e07df4 commit 001c1b0

1 file changed

Lines changed: 21 additions & 3 deletions

File tree

‎.goreleaser.yml‎

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,45 @@
11
version: 2
22
builds:
3-
- env:
3+
- id: default
4+
env:
45
- CGO_ENABLED=0
56
goos:
67
- linux
78
- windows
89
- darwin
10+
- id: arm64-aarch64
11+
env:
12+
- CGO_ENABLED=0
13+
goos:
14+
- linux
15+
- darwin
16+
goarch:
17+
- arm64
918

1019
checksum:
1120
name_template: "{{ .ProjectName }}_checksums.txt"
1221

1322
archives:
1423
# Distribute just the binaries by default
15-
- formats: ["binary"]
24+
- id: default
25+
ids: ["default"]
26+
formats: ["binary"]
1627
name_template: >-
1728
{{ .ProjectName }}_
1829
{{- title .Os }}_
1930
{{- if eq .Arch "amd64" }}x86_64
2031
{{- else if eq .Arch "386" }}i386
2132
{{- else }}{{ .Arch }}{{ end }}
33+
- id: aarch64
34+
ids: ["arm64-aarch64"]
35+
formats: ["binary"]
36+
name_template: >-
37+
{{ .ProjectName }}_
38+
{{- title .Os }}_aarch64
2239
2340
kos:
24-
- repositories: ["abice/go-enum"]
41+
- build: default
42+
repositories: ["abice/go-enum"]
2543
base_image: cgr.dev/chainguard/go # need the go binary for formatting 🔧 purposes 🫤
2644
tags:
2745
- "{{.Version}}"

0 commit comments

Comments
 (0)