From b6e84dfde7841ee449db759ec44701342d2cf687 Mon Sep 17 00:00:00 2001 From: "Y.Matsuda" Date: Tue, 18 Jun 2024 15:32:44 +0900 Subject: [PATCH 1/2] Add workflow to release to homebrew tap --- .github/workflows/release.yml | 1 + .goreleaser.yaml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c97c308..12e721f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,3 +25,4 @@ jobs: args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 998edd1..01b4030 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -34,3 +34,9 @@ changelog: exclude: - "^docs:" - "^test:" + +brews: + - repository: + owner: ymtdzzz + name: homebrew-tap + token: "{{ .Env.TAP_GITHUB_TOKEN }}" From 7dae3621a32825f7d74bc7f4fd90eebe607ecfe6 Mon Sep 17 00:00:00 2001 From: "Y.Matsuda" Date: Tue, 18 Jun 2024 15:45:11 +0900 Subject: [PATCH 2/2] update README.md --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6c25c69..51752ab 100644 --- a/README.md +++ b/README.md @@ -12,10 +12,17 @@ Logs ![Logs](./docs/logs.png) ## Getting Started +### Homebrew -Download the binary from Github release page and execute it. +```sh +$ brew install ymtdzzz/tap/otel-tui +``` + +### Executable Binary from Github Release page + +https://github.com/ymtdzzz/otel-tui/releases -Or, you can run it using the `go run` command: +### From Source ```sh $ git clone https://github.com/ymtdzzz/otel-tui.git