Skip to content

Commit

Permalink
chore:Update the release to build separate openwrt and rdk ipks.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidtw committed Jul 23, 2024
1 parent 8280595 commit 30b2c18
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ archives:

nfpms:
-
id: rdk
file_name_template: '{{ .PackageName }}_{{ .Version }}_rdk_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
vendor: xmidt-org
homepage: https://github.com/xmidt-org/xmidt-agent
license: Apache-2.0
Expand All @@ -89,7 +91,7 @@ nfpms:
contents:
# systemd service file
- src: .release/ipk/xmidt-agent.service
dst: /usr/lib/systemd/system/xmidt-agent.service
dst: /lib/systemd/system/xmidt-agent.service

# base configuration file
- src: .release/ipk/config.yml
Expand All @@ -98,6 +100,29 @@ nfpms:
ipk:
fields:
Bugs: https://github.com/xmidt-org/xmidt-agent/issues
-
id: openwrt
file_name_template: '{{ .PackageName }}_{{ .Version }}_openwrt_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
vendor: xmidt-org
homepage: https://github.com/xmidt-org/xmidt-agent
license: Apache-2.0
maintainer: [email protected]
description: The client agent for the Xmidt service.

formats:
- ipk

dependencies:
- systemd

contents:
# base configuration file
- src: .release/ipk/config.yml
dst: /etc/xmidt-agent/01-config.yml

ipk:
fields:
Bugs: https://github.com/xmidt-org/xmidt-agent/issues

source:
enabled: true
Expand Down

0 comments on commit 30b2c18

Please sign in to comment.