From d84b725791f78401d138703a52a317db346484fc Mon Sep 17 00:00:00 2001 From: sanfrancrisko Date: Mon, 25 Oct 2021 12:36:59 +0100 Subject: [PATCH] (MAINT) Fix `.goreleaser.yml` to generate PCT + PCT_NOTEL archives --- .goreleaser.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index acf7372e..636b58d6 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -52,7 +52,10 @@ builds: mod_timestamp: '{{ .CommitTimestamp }}' archives: - - name_template: "{{ .ProjectName }}_{{ tolower .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}" + - name_template: "pct_{{ tolower .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}" + id: pct + builds: + - pct replacements: darwin: Darwin linux: Linux @@ -65,6 +68,23 @@ archives: format: zip files: - templates/**/* + - name_template: "notel_pct_{{ tolower .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}" + id: notel_pct + builds: + - notel_pct + replacements: + darwin: Darwin + linux: Linux + windows: Windows + 386: i386 + amd64: x86_64 + wrap_in_directory: false + format_overrides: + - goos: windows + format: zip + files: + - templates/**/* + checksum: name_template: 'checksums.txt'