From 3fe0a7a0e08d72096abea0397962f344b05431d4 Mon Sep 17 00:00:00 2001 From: rsteube Date: Sat, 16 Sep 2023 15:35:12 +0200 Subject: [PATCH] goreleaser: added snapcraft --- .goreleaser.yml | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index e970d3fcad..f53194c539 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -29,6 +29,7 @@ changelog: exclude: - '^docs:' - '^test:' + brews: - name: carapace @@ -40,15 +41,18 @@ brews: name: homebrew-tap token: "{{ .Env.GORELEASER_GITHUB_TOKEN }}" commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}" -scoop: - description: "multi-shell multi-command argument completer" - homepage: "https://github.com/rsteube/carapace-bin" - license: "MIT" - bucket: - owner: rsteube - name: scoop-bucket - token: "{{ .Env.GORELEASER_GITHUB_TOKEN }}" - commit_msg_template: "Scoop update for {{ .ProjectName }} version {{ .Tag }}" + +scoops: + - + description: "multi-shell multi-command argument completer" + homepage: "https://github.com/rsteube/carapace-bin" + license: "MIT" + bucket: + owner: rsteube + name: scoop-bucket + token: "{{ .Env.GORELEASER_GITHUB_TOKEN }}" + commit_msg_template: "Scoop update for {{ .ProjectName }} version {{ .Tag }}" + aurs: - description: "multi-shell multi-command argument completer" @@ -75,6 +79,12 @@ nfpms: - rpm - termux.deb +snapcrafts: + - + summary: "multi-shell multi-command argument completer" + description: "multi-shell multi-command argument completer" + license: "MIT" + publishers: - name: fury cmd: "bash -c \"[[ {{.ArtifactPath}} =~ ^.*.(deb|rpm)$ ]] && curl -F package=@{{abs .ArtifactPath}} https://$FURY_TOKEN@push.fury.io/rsteube/ || true\""