Skip to content

Commit

Permalink
[ci] goreleaser changed build directory for arm64 to arm64_v8.0 (#1319)
Browse files Browse the repository at this point in the history
* [ci] goreleaser changed build directory for arm64 to arm64_v8.0 | fix goreleaser linter warnings
  • Loading branch information
dopey authored Nov 20, 2024
1 parent a7ea59b commit 6486532
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,9 @@ builds:
# - the name of the output binary is step-cli
<< : *BUILD
id: nfpm
goos:
- linux
goarch:
- amd64
- arm64
targets:
- linux_amd64
- linux_arm64
binary: step-cli

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

snapshot:
name_template: "{{ .Tag }}-next"
version_template: "{{ .Tag }}-next"

release:
# Repo in which the release will be created.
Expand Down Expand Up @@ -277,13 +275,13 @@ blobs:
extra_files:
- glob: ./dist/default_darwin_amd64_v1/bin/step
name_template: step_{{ .Version }}_darwin_amd64
- glob: ./dist/default_darwin_arm64/bin/step
- glob: ./dist/default_darwin_arm64*/bin/step
name_template: step_{{ .Version }}_darwin_arm64
- glob: ./dist/default_linux_amd64_v1/bin/step
name_template: step_{{ .Version }}_linux_amd64
- glob: ./dist/default_linux_arm64/bin/step
- glob: ./dist/default_linux_arm64*/bin/step
name_template: step_{{ .Version }}_linux_arm64
- glob: ./dist/default_windows_arm64/bin/step.exe
- glob: ./dist/default_windows_amd64_v1/bin/step.exe
name_template: step_{{ .Version }}_windows_amd64.exe
- glob: ./dist/default_freebsd_*/bin/step
name_template: step_{{ .Version }}_freebsd_amd64
Expand All @@ -297,13 +295,13 @@ blobs:
extra_files:
- glob: ./dist/default_darwin_amd64_v1/bin/step
name_template: step_latest_darwin_amd64
- glob: ./dist/default_darwin_arm64/bin/step
- glob: ./dist/default_darwin_arm64*/bin/step
name_template: step_latest_darwin_arm64
- glob: ./dist/default_linux_amd64_v1/bin/step
name_template: step_latest_linux_amd64
- glob: ./dist/default_linux_arm64/bin/step
- glob: ./dist/default_linux_arm64*/bin/step
name_template: step_latest_linux_arm64
- glob: ./dist/default_windows_arm64/bin/step.exe
- glob: ./dist/default_windows_amd64_v1/bin/step.exe
name_template: step_latest_windows_amd64.exe
- glob: ./dist/default_freebsd_*/bin/step
name_template: step_latest_freebsd_amd64
Expand Down

0 comments on commit 6486532

Please sign in to comment.