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

Commit

Permalink
Merge pull request #261 from puppetlabs/maint/main/fix_goreleaser
Browse files Browse the repository at this point in the history
(MAINT) Fix `.goreleaser.yml` to generate PCT + PCT_NOTEL archives
  • Loading branch information
petergmurphy authored Oct 25, 2021
2 parents 74efb41 + d84b725 commit 915eb58
Showing 1 changed file with 21 additions and 1 deletion.
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

0 comments on commit 915eb58

Please sign in to comment.