From c0cd4d7771612b6a8759f6c466eaaf24f9f389f5 Mon Sep 17 00:00:00 2001 From: Sam Therapy Date: Fri, 12 May 2023 23:19:24 +0200 Subject: [PATCH] feat(goreleaser): Enable APK and RPM Gitea supports them now so add them! --- .goreleaser.yaml | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 2189d4a..acf7058 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -8,6 +8,7 @@ before: - doc/makeman.sh # Vendor dependencies - go mod vendor + builds: - env: - CGO_ENABLED=0 @@ -40,6 +41,9 @@ archives: wrap_in_directory: "{{ .ProjectName }}" rlcp: true +universal_binaries: +- replace: true + checksum: name_template: "checksums.txt" @@ -85,19 +89,20 @@ brews: fish_completion.install "completions/fish.fish" => "awl.fish" man1.install "doc/awl.1.gz" -scoop: - bucket: - owner: sam - name: scoop - folder: bucket - homepage: https://dns.froth.zone/awl - description: A DNS query client - license: BSD-3-Clause +scoops: + - bucket: + owner: sam + name: scoop + folder: bucket + homepage: https://dns.froth.zone/awl + description: A DNS query client + license: BSD-3-Clause nfpms: - id: packages maintainer: Sam homepage: https://dns.froth.zone/awl + package_name: awl-dns description: |- Command-line DNS query tool. Awl supports DNS-over-[UDP,TCP,HTTPS,QUIC] and DNSCrypt. @@ -106,8 +111,8 @@ nfpms: section: utils formats: - deb - # - rpm - # - apk + - rpm + - apk contents: - src: completions/bash.bash dst: /usr/share/bash-completion/completions/awl