Skip to content

Commit

Permalink
Update goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
t94j0 committed Mar 14, 2022
1 parent 7fd8398 commit db8922e
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>
description: easy-to-use payload hosting
Expand All @@ -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 }}"
Expand Down

0 comments on commit db8922e

Please sign in to comment.