Skip to content

Commit

Permalink
feat: add snapcrafts to goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
kvendingoldo committed May 3, 2024
1 parent c97682b commit 833809d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,18 @@ nfpms:
pkgbase: tenv
packager: tofuutils <[email protected]>

snapcrafts:
- name_template: "{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
summary: Deliver Go binaries as fast and easily as possible
description: |
GoReleaser builds Go binaries for several platforms, creates a GitHub
release and then pushes a Homebrew formula to a repository. All that
wrapped in your favorite CI.
grade: stable
confinement: classic
publish: true
disable: true # "{{ if .IsNightly }}true{{ end }}"

brews:
- repository:
owner: tofuutils
Expand Down

0 comments on commit 833809d

Please sign in to comment.