From db8922e438ac184963b39ac9a683bd11dee68455 Mon Sep 17 00:00:00 2001 From: Max Harley Date: Mon, 14 Mar 2022 14:58:32 -0700 Subject: [PATCH] Update goreleaser --- .goreleaser.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index b44c917..df3b9e5 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -16,7 +16,7 @@ snapshot: nfpms: - id: satellite - name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" + file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" homepage: https://github.com/t94j0/satellite maintainer: Max Harley description: easy-to-use payload hosting @@ -30,15 +30,23 @@ nfpms: - rpm empty_folders: - /var/www/html - files: - ".config/etc/satellite/config.yml": "/etc/satellite/config.yml" - ".config/lib/systemd/system/satellite.service": "/lib/systemd/system/satellite.service" - ".config/var/lib/satellite/GeoLite2-Country.mmdb": "/var/lib/satellite/GeoLite2-Country.mmdb" + contents: + - src: ".config/etc/satellite/config.yml" + dst: "/etc/satellite/config.yml" + type: config + + - src: ".config/lib/systemd/system/satellite.service" + dst: "/lib/systemd/system/satellite.service" + type: config + + - src: ".config/var/lib/satellite/GeoLite2-Country.mmdb" + dst: "/var/lib/satellite/GeoLite2-Country.mmdb" + type: config brews: - name: satellite skip_upload: true - github: + tap: owner: t94j0 name: homebrew-security url_template: "https://github.com/t94j0/satellite/releases/{{ .Tag }}/{{ .ArtifactName }}"