Skip to content

Commit a800160

Browse files
committed
Remove the extra "default" build
1 parent 6187feb commit a800160

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.goreleaser.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,14 @@ before:
77
- go mod download
88

99
builds:
10-
- &COMMON
10+
- &BUILD
1111
env:
1212
- CGO_ENABLED=0
1313
main: ./cmd/step/main.go
1414
flags:
1515
- -trimpath
1616
ldflags:
1717
- -w -X main.Version={{.Version}} -X main.BuildTime={{.Date}}
18-
-
19-
<< : *COMMON
20-
id: default
2118
targets:
2219
- darwin_amd64
2320
- darwin_arm64
@@ -35,12 +32,12 @@ builds:
3532
- windows_arm64
3633
binary: bin/step
3734
-
38-
<< : *COMMON
35+
<< : *BUILD
3936
id: debug
4037
gcflags: all=-N -l
4138
-
4239
# This build is for S3 binaries that follow our naming convention there.
43-
<< : *COMMON
40+
<< : *BUILD
4441
id: s3-versioned
4542
targets:
4643
- darwin_amd64
@@ -52,7 +49,7 @@ builds:
5249
binary: 'step_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
5350
-
5451
# This build is for S3 unversioned binaries that follow our naming convention there.
55-
<< : *COMMON
52+
<< : *BUILD
5653
id: s3-unversioned
5754
targets:
5855
- darwin_amd64
@@ -67,7 +64,7 @@ builds:
6764
# It's exactly the same as the default build above, except:
6865
# - it only builds the archs we want to produce .deb and .rpm files for
6966
# - the name of the output binary is step-cli
70-
<< : *COMMON
67+
<< : *BUILD
7168
id: nfpm
7269
goos:
7370
- linux

0 commit comments

Comments
 (0)