From 667c3703d009ff3ed8c8a894abc8f7e6aa863358 Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Wed, 20 Apr 2022 10:04:02 +0200 Subject: [PATCH] Add brew to goreelaser Signed-off-by: Chmouel Boudjnah --- .github/workflows/releaser.yaml | 1 + .goreleaser.yml | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/releaser.yaml b/.github/workflows/releaser.yaml index 2b4bae6..e32c734 100644 --- a/.github/workflows/releaser.yaml +++ b/.github/workflows/releaser.yaml @@ -34,3 +34,4 @@ jobs: args: release --rm-dist env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + AUR_PRIVATE_KEY: ${{ secrets.AUR_PRIVATE_KEY }} diff --git a/.goreleaser.yml b/.goreleaser.yml index a479d87..1e9cd6d 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -40,12 +40,12 @@ snapshot: name_template: "{{ .Tag }}-next" release: - prerelease: false + prerelease: true nfpms: - file_name_template: "gosmee-{{.Version}}_{{.Os}}-{{.Arch}}" homepage: https://github.com/chmouel/gosmee - description: Gosmee - smee.io forwarder in go + description: "Gosmee - smee.io forwarder in go" maintainer: Chmouel Boudjnah license: Apache 2.0 formats: @@ -75,3 +75,13 @@ changelog: universal_binaries: - replace: true name_template: "gosmee" + +aurs: + - name: gosmee-bin + homepage: "https://github.com/chmouel/gosmee" + description: "Gosmee - smee.io forwarder in go" + maintainers: + - "Chmouel Boudjnah " + license: Apache 2.0 + private_key: "{{ .Env.AUR_PRIVATE_KEY }}" + git_url: ssh://aur@aur.archlinux.org/gosmee-bin.git