From 527e583f22061111b55fd279691f38c4ce3a5b8a Mon Sep 17 00:00:00 2001 From: Link Date: Mon, 20 Nov 2023 10:05:22 +0000 Subject: [PATCH] update goreleaser --- .goreleaser.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index a7aaad5..0e5a436 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -142,24 +142,21 @@ builds: goarm: - "7" archives: - - name_template: "{{ .Os }}-{{ .Arch }}-{{ .ProjectName }}-v{{ .Version }}" - id: casaos-user-service + - name_template: >- + {{ .Os }}-{{- if eq .Arch "arm" }}arm-7{{- else }}{{ .Arch }}{{- end }}-{{ .ProjectName }}-v{{ .Version }} builds: - casaos-user-service-amd64 - casaos-user-service-arm64 - casaos-user-service-arm-7 - replacements: - arm: arm-7 files: - build/**/* - - name_template: "{{ .Os }}-{{ .Arch }}-{{ .ProjectName }}-migration-tool-v{{ .Version }}" + - name_template: >- + {{ .Os }}-{{- if eq .Arch "arm" }}arm-7{{- else }}{{ .Arch }}{{- end }}-{{ .ProjectName }}-v{{ .Version }} id: casaos-user-service-migration-tool builds: - casaos-user-service-migration-tool-amd64 - casaos-user-service-migration-tool-arm64 - casaos-user-service-migration-tool-arm-7 - replacements: - arm: arm-7 files: - build/sysroot/etc/**/* checksum: