Skip to content

Commit

Permalink
Update .goreleaser.yml NFPM syntax (#145)
Browse files Browse the repository at this point in the history
* Update `.gorelease.yml` NFPM syntax

* Add `type: config`
  • Loading branch information
timvaillancourt authored Oct 13, 2021
1 parent ddf9281 commit 216ff7c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,14 @@ nfpms:
description: Cooperative, highly available throttler service
license: MIT
bindir: /usr/bin
config_files:
"resources/freno.conf.skeleton.json": "/etc/freno.conf.json"
files:
"resources/etc/init.d/freno": "/etc/init.d/freno"
contents:
- src: "resources/freno.conf.skeleton.json"
dst: "/etc/freno.conf.json"
type: config
- src: "resources/etc/init.d/freno"
dst: "/etc/init.d/freno"
file_info:
mode: 0777
empty_folders:
- "/var/lib/freno"
formats:
Expand Down

0 comments on commit 216ff7c

Please sign in to comment.