From 9ffe4e0e4c0b68c1f499b6227c0aaf1f8dab9e4d Mon Sep 17 00:00:00 2001 From: Dries De Peuter Date: Wed, 21 Feb 2024 01:27:15 +0100 Subject: [PATCH] ci: Release to Nix User Repository --- .goreleaser.yaml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 08afd77..12a9924 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -89,10 +89,10 @@ brews: nfpms: - file_name_template: "{{ .ConventionalFileName }}" id: packages - homepage: https://github.com/nousefreak/projecthelper - description: "{{ .Env.PROJECT_DESCRIPTION}}" + homepage: "{{ .Env.PROJECT_HOMEPAGE }}" + description: "{{ .Env.PROJECT_DESCRIPTION }}" + license: "{{ .Env.LICENSE }}" maintainer: Dries De Peuter - license: MIT vendor: NoUseFreak bindir: /usr/bin section: utils @@ -114,3 +114,15 @@ nfpms: lintian_overrides: - statically-linked-binary - changelog-file-missing-in-native-package + +nix: + - repository: + owner: NoUseFreak + name: nix-nut + homepage: "{{ .Env.PROJECT_HOMEPAGE }}" + description: "{{ .Env.PROJECT_DESCRIPTION }}" + license: "{{ .Env.LICENSE }}" + extra_install: | + installManPage ./manpages/projecthelper.1.gz + +