Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

(MAINT) Fix .goreleaser.yml to generate PCT + PCT_NOTEL archives #261

Merged
merged 1 commit into from
Oct 25, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down