From 64865322e16c8fcd24bd1ce4d696cbe048949a00 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 20 Nov 2024 11:03:01 -0800 Subject: [PATCH] [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 --- .goreleaser.yml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index a60801616..5a9930ce1 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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: @@ -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. @@ -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 @@ -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