Skip to content

Commit f8924a2

Browse files
committed
releaser
1 parent d19e50f commit f8924a2

File tree

3 files changed

+41
-0
lines changed

3 files changed

+41
-0
lines changed

.github/workflows/releaser.yaml

Whitespace-only changes.

.goreleaser.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
builds:
2+
- env:
3+
- CGO_ENABLED=0
4+
id: "irir"
5+
binary: irir
6+
goos:
7+
- linux
8+
- darwin
9+
ldflags: -s -w -X main.version={{.Version}} -X "main.installFrom=Binary"
10+
changelog:
11+
use: github
12+
filters:
13+
exclude:
14+
- Merge pull request
15+
- Merge remote-tracking branch
16+
- Merge branch
17+
brews:
18+
- tap:
19+
owner: bayashi
20+
name: homebrew-tap
21+
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
22+
folder: Formula
23+
homepage: https://github.com/bayashi/highlightrepo
24+
description: highlightrepo provides a filter to highlight repository directory in a path string.
25+
test: |
26+
system "#{bin}/highlightrepo", '--version'

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,21 @@ PS1="[\u@\h \$(pwd | highlightrepo -y)]\n\$ "
3030

3131
## Installation
3232

33+
### Mac
34+
35+
```sh
36+
brew tap bayashi/tap
37+
brew install bayashi/tap/highlightrepo
38+
```
39+
40+
### Binary install
41+
42+
Download binary from here: https://github.com/bayashi/highlightrepo/releases
43+
44+
### Go manual
45+
46+
If you have golang environment:
47+
3348
```cmd
3449
go install github.com/bayashi/highlightrepo@latest
3550
```

0 commit comments

Comments
 (0)