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 74db92b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 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: homebrew-dagu
folder: Formula
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,12 @@ Download the latest binary from the [Releases page](https://github.com/dagu-dev/

### Via Homebrew (macOS)
```sh
brew install yohamta/tap/dagu
brew install dagu-dev/dagu/dagu
```

Upgrade to the latest version:
```sh
brew upgrade yohamta/tap/dagu
brew upgrade dagu-dev/dagu/dagu
```

### Via Docker
Expand Down

0 comments on commit 74db92b

Please sign in to comment.