Skip to content

Commit

Permalink
goreleaser: added snapcraft
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Sep 16, 2023
1 parent ff88156 commit 3fe0a7a
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ changelog:
exclude:
- '^docs:'
- '^test:'

brews:
-
name: carapace
Expand All @@ -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"
Expand All @@ -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://[email protected]/rsteube/ || true\""
Expand Down

0 comments on commit 3fe0a7a

Please sign in to comment.