mirror of
https://github.com/arl/gitmux.git
synced 2026-09-10 07:26:18 -04:00
Brew tap (#81)
* cd: use gorelease --clean instead of --rm-dist * cd: check brew tap has been installed after a release * README.md: update ci/cd workflow badges * README.md: add brew tap to install section Closes #52
This commit is contained in:
parent
794f960018
commit
e76504fef7
17
.github/workflows/cd.yml
vendored
17
.github/workflows/cd.yml
vendored
|
|
@ -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" ]
|
||||
|
|
|
|||
19
README.md
19
README.md
|
|
@ -5,8 +5,12 @@
|
|||
<hr>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://github.com/arl/gitmux/actions">
|
||||
<img alt="tests" src="https://github.com/arl/gitmux/actions/workflows/tests.yml/badge.svg" />
|
||||
|
||||
<a href="https://github.com/arl/gitmux/actions/workflows/ci.yml">
|
||||
<img alt="tests" src="https://github.com/arl/gitmux/actions/workflows/ci.yml/badge.svg" />
|
||||
</a>
|
||||
<a href="https://github.com/arl/gitmux/actions/workflows/cd.yml">
|
||||
<img alt="tests" src="https://github.com/arl/gitmux/actions/workflows/cd.yml/badge.svg" />
|
||||
</a>
|
||||
<a href="https://goreportcard.com/report/github.com/arl/gitmux">
|
||||
<img alt="goreport" src="https://goreportcard.com/badge/github.com/arl/gitmux" />
|
||||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue