Skip to content

Commit

Permalink
chore: Configure GoReleaser for Homebrew distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
yarlson committed Oct 19, 2024
1 parent 4b95a61 commit e40779f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/code.*
/docs/
ftl
/dist/
19 changes: 19 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ project_name: ftl
builds:
- id: ftl
main: ./main.go
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
Expand All @@ -29,3 +31,20 @@ release:

checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"

brews:
- name: ftl
repository:
owner: yarlson
name: homebrew-ftl
url_template: "https://github.com/yarlson/ftl/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_author:
name: Yar Kravtsov
email: [email protected]
homepage: "https://github.com/yarlson/ftl"
description: "FTL - Faster Than Light deployment tool"
license: "MIT"
test: |
system "#{bin}/ftl --version"
install: |
bin.install "ftl"

0 comments on commit e40779f

Please sign in to comment.