Skip to content

Commit d02ce04

Browse files
authored
Publish arm binaries
This updates goreleaser to also publish ARM and AMD binaries for target platforms. There were two build targets that were identical, so I merged them.
1 parent 1fc83f9 commit d02ce04

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.goreleaser.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,16 @@ env:
77
- GOPRIVATE=github.com/hashicorp
88

99
builds:
10-
- id: signable
11-
mod_timestamp: '{{ .CommitTimestamp }}'
12-
targets:
13-
- darwin_amd64
14-
- windows_386
15-
- windows_amd64
16-
dir: ./cmd/go-getter/
17-
flags:
18-
- -trimpath
19-
ldflags:
20-
- -X main.GitCommit={{ .Commit }}
2110
- mod_timestamp: '{{ .CommitTimestamp }}'
2211
targets:
12+
- darwin_amd64
13+
- darwin_arm64
2314
- linux_386
2415
- linux_amd64
16+
- linux_arm64
17+
- windows_386
18+
- windows_arm64
19+
- windows_amd64
2520
dir: ./cmd/go-getter/
2621
flags:
2722
- -trimpath
@@ -51,4 +46,4 @@ signs:
5146
artifacts: checksum
5247

5348
changelog:
54-
disable: true
49+
disable: true

0 commit comments

Comments
 (0)