diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 95f8993..5afbb15 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -10,6 +10,7 @@ permissions: jobs: goreleaser: + name: Publish release to github/brew runs-on: ubuntu-latest steps: - name: Checkout @@ -25,6 +26,20 @@ jobs: with: distribution: goreleaser version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + + check_brew: + name: Check brew tap has been updated + runs-on: macos-latest + needs: goreleaser + steps: + - name: brew tap/install + run: | + brew tap arl/arl + brew install gitmux + gitmux -V + - name: check gitmux version + run: | + [ v$(gitmux -V) == "$GITHUB_REF_NAME" ] diff --git a/README.md b/README.md index ba40829..bd428a8 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,12 @@
-
-
+
+
+
+
+
+
@@ -25,6 +29,7 @@
- **shell-agnostic**. Does not rely on shell-features so works with all of them
- **customizable**. Colors, symbols and layout are configurable
+
## Prerequisites
Works with all decently recent [tmux](https://github.com/tmux/tmux) versions.
@@ -35,6 +40,16 @@ Works with all decently recent [tmux](https://github.com/tmux/tmux) versions.
[Download the latest](https://github.com/arl/gitmux/releases/latest) binary for your platform/architecture and uncompress it.
+
+### Homebrew (tap)
+
+Install the latest version with:
+
+```sh
+brew tap arl/arl
+brew install gitmux
+```
+
### AUR
Arch Linux users can download the [gitmux](https://aur.archlinux.org/packages/gitmux), [gitmux-bin](https://aur.archlinux.org/packages/gitmux-bin) or [gitmux-git](https://aur.archlinux.org/packages/gitmux-git) AUR package.