Skip to content

Commit

Permalink
feat: Add version header for .goreleaser.yaml
Browse files Browse the repository at this point in the history
Add missing version header for goreleaser configuration in .goreleaser.yaml (see: https://goreleaser.com/errors/version/#unsupported-configuration-version).
  • Loading branch information
4ndyZ committed Jul 1, 2024
1 parent 6c9eac8 commit c0b6693
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
project_name: corona-dashboard
---
version: 2
project_name: ovh-dyndns
builds:
- env: [CGO_ENABLED=0]
goos:
Expand Down Expand Up @@ -29,8 +31,8 @@ archives:
format: zip
nfpms:
- maintainer: AndyZ <[email protected]>
description: RKI Corona Dashboard for Grafana
homepage: https://github.com/4ndyZ/Corona-Dashboard
description: DynDNS Client for OVH
homepage: https://github.com/4ndyZ/OVH-DynDNS
file_name_template: >-
{{ tolower .ProjectName }}_{{ tolower .Version }}+{{ .Os }}_{{ tolower .Arch }}
license: GPL-3.0
Expand All @@ -43,15 +45,15 @@ nfpms:
contents:
# Config file
- src: config/config.conf
dst: /etc/corona-dashboard/config.conf
dst: /etc/ovh-dyndns/config.conf
type: "config|noreplace"
file_info:
mode: 0640
owner: root
group: corona-dashboard
group: ovh-dyndns
# Systemd service file
- src: service/service.service
dst: /usr/lib/systemd/system/corona-dashboard.service
dst: /usr/lib/systemd/system/ovh-dyndns.service
# Install and remove scripts
scripts:
preinstall: "scripts/preinstall.sh"
Expand Down

0 comments on commit c0b6693

Please sign in to comment.