Skip to content

Commit 6486532

Browse files
authored
[ci] goreleaser changed build directory for arm64 to arm64_v8.0 (#1319)
* [ci] goreleaser changed build directory for arm64 to arm64_v8.0 | fix goreleaser linter warnings
1 parent a7ea59b commit 6486532

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

.goreleaser.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,9 @@ builds:
5353
# - the name of the output binary is step-cli
5454
<< : *BUILD
5555
id: nfpm
56-
goos:
57-
- linux
58-
goarch:
59-
- amd64
60-
- arm64
56+
targets:
57+
- linux_amd64
58+
- linux_arm64
6159
binary: step-cli
6260

6361
archives:
@@ -165,7 +163,7 @@ publishers:
165163
cmd: ./scripts/package-upload.sh {{ abs .ArtifactPath }} {{ .Var.packageName }} {{ .Version }} {{ .Var.packageRelease }}
166164

167165
snapshot:
168-
name_template: "{{ .Tag }}-next"
166+
version_template: "{{ .Tag }}-next"
169167

170168
release:
171169
# Repo in which the release will be created.
@@ -277,13 +275,13 @@ blobs:
277275
extra_files:
278276
- glob: ./dist/default_darwin_amd64_v1/bin/step
279277
name_template: step_{{ .Version }}_darwin_amd64
280-
- glob: ./dist/default_darwin_arm64/bin/step
278+
- glob: ./dist/default_darwin_arm64*/bin/step
281279
name_template: step_{{ .Version }}_darwin_arm64
282280
- glob: ./dist/default_linux_amd64_v1/bin/step
283281
name_template: step_{{ .Version }}_linux_amd64
284-
- glob: ./dist/default_linux_arm64/bin/step
282+
- glob: ./dist/default_linux_arm64*/bin/step
285283
name_template: step_{{ .Version }}_linux_arm64
286-
- glob: ./dist/default_windows_arm64/bin/step.exe
284+
- glob: ./dist/default_windows_amd64_v1/bin/step.exe
287285
name_template: step_{{ .Version }}_windows_amd64.exe
288286
- glob: ./dist/default_freebsd_*/bin/step
289287
name_template: step_{{ .Version }}_freebsd_amd64
@@ -297,13 +295,13 @@ blobs:
297295
extra_files:
298296
- glob: ./dist/default_darwin_amd64_v1/bin/step
299297
name_template: step_latest_darwin_amd64
300-
- glob: ./dist/default_darwin_arm64/bin/step
298+
- glob: ./dist/default_darwin_arm64*/bin/step
301299
name_template: step_latest_darwin_arm64
302300
- glob: ./dist/default_linux_amd64_v1/bin/step
303301
name_template: step_latest_linux_amd64
304-
- glob: ./dist/default_linux_arm64/bin/step
302+
- glob: ./dist/default_linux_arm64*/bin/step
305303
name_template: step_latest_linux_arm64
306-
- glob: ./dist/default_windows_arm64/bin/step.exe
304+
- glob: ./dist/default_windows_amd64_v1/bin/step.exe
307305
name_template: step_latest_windows_amd64.exe
308306
- glob: ./dist/default_freebsd_*/bin/step
309307
name_template: step_latest_freebsd_amd64

0 commit comments

Comments
 (0)