Skip to content

Commit

Permalink
(feat) Publish homebrew formula to main repository
Browse files Browse the repository at this point in the history
Related: dagu-org#597

With this change the homebrew formula can be installed as:

brew tap dagu-dev/dagu
brew install dagu-dev/dagu/dagu
  • Loading branch information
zph committed Jul 4, 2024
1 parent 2c0971a commit 06fe749
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 5 deletions.
26 changes: 21 additions & 5 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,38 @@ builds:
goarm:
- 7
checksum:
name_template: 'checksums.txt'
name_template: "checksums.txt"
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- "^docs:"
- "^test:"
brews:
# DEPRECATED: prefer using dagu-dev/dagu for brew formula
- repository:
owner: yohamta
name: homebrew-tap
folder: Formula
homepage: 'https://github.com/dagu-dev/dagu'
description: 'A No-code workflow executor that runs DAGs defined in a simple YAML format'
homepage: "https://github.com/dagu-dev/dagu"
description: "A No-code workflow executor that runs DAGs defined in a simple YAML format"
license: "GNU General Public License v3.0"
custom_block: |
service do
run [opt_bin/"dagu", "start-all"]
keep_alive true
error_log_path var/"log/dagu.log"
log_path var/"log/dagu.log"
working_dir var
end
- repository:
owner: dagu-dev
name: dagu
folder: pkg/brew
homepage: "https://github.com/dagu-dev/dagu"
description: "A No-code workflow executor that runs DAGs defined in a simple YAML format"
license: "GNU General Public License v3.0"
custom_block: |
service do
Expand Down
1 change: 1 addition & 0 deletions HomebrewFormula
Empty file added pkg/brew/.gitkeep
Empty file.
1 change: 1 addition & 0 deletions pkg/brew/HomebrewFormula

0 comments on commit 06fe749

Please sign in to comment.