Skip to content

Commit

Permalink
Remove deprecated fields and add name templates (#256)
Browse files Browse the repository at this point in the history
[#251] Replace deprecated fields in .goreleaser.yaml as described to the documentation

Signed-off-by: Kristiyan Gostev <[email protected]>
  • Loading branch information
k-gostev authored Aug 10, 2023
1 parent 89c19f1 commit bc6390a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ builds:
mod_timestamp: '{{ .CommitTimestamp }}'
archives:
- id: kanto-archive-all
name_template: '{{ .ProjectName }}_{{ .Version }}_linux_{{ if .Amd64 }}x86_64{{ else if .Arm }}armv7{{ else }}{{ .Runtime.Goarch }}{{ end }}'
builds:
- build-suite-connector
- build-container-management
Expand All @@ -444,8 +445,6 @@ archives:
- build-suite-bootstrapping
- build-file-backup
- build-system-metrics
replacements:
amd64: x86_64
files:
# common files
- LICENSE
Expand Down Expand Up @@ -524,8 +523,7 @@ nfpms:
- build-file-backup-pkg
- build-system-metrics-pkg
bindir: /usr/bin
replacements:
amd64: x86_64
file_name_template: '{{ .ProjectName }}_{{ .Version }}_linux_{{ if .Amd64 }}x86_64{{ else if .Arm }}armv7{{ else }}{{ .Runtime.Goarch }}{{ end }}'
maintainer: Contributors to the Eclipse Foundation, Kanto Project <[email protected]>
description: |-
Eclipse Kanto™ is a modular IoT edge software that enables devices for IoT with all essentials
Expand Down

0 comments on commit bc6390a

Please sign in to comment.