Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,4 @@ jobs:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_DEPLOY_KEY: ${{ secrets.HOMEBREW_TAP_DEPLOY_KEY }}
19 changes: 19 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,25 @@ archives:
checksum:
name_template: "checksums.txt"

homebrew_casks:
- name: flux-cli
binaries:
- flux
description: Command-line interface for Flux project management
homepage: https://github.com/eyra/flux-cli
repository:
owner: eyra
name: homebrew-tap
git:
url: git@github.com:eyra/homebrew-tap.git
private_key: '{{ index .Env "HOMEBREW_TAP_DEPLOY_KEY" }}'
hooks:
post:
install: |
if OS.mac?
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/flux"]
end

release:
github:
owner: eyra
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ Command-line interface for Flux project management.

## Installation

```bash
brew install eyra/tap/flux-cli
```

Or with Go:

```bash
go install github.com/eyra/flux-cli@latest
```
Expand Down
Loading