Skip to content

Commit ea7ed14

Browse files
committed
ci: Deploy to brew tap
docs: README
1 parent c14d831 commit ea7ed14

4 files changed

Lines changed: 36 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ jobs:
2828
version: latest
2929
args: release --clean
3030
env:
31-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}

.goreleaser.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,18 @@ checksum:
2020
snapshot:
2121
name_template: "{{ incpatch .Version }}-next"
2222
changelog:
23-
disable: true
23+
disable: true
24+
brews:
25+
-
26+
repository:
27+
owner: chebread
28+
name: homebrew-cvtr
29+
branch: master
30+
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
31+
32+
homepage: "https://github.com/chebread/cvtr"
33+
description: "A dead simple currency tool for your terminal."
34+
license: "MIT"
35+
36+
install: |
37+
bin.install "cvtr"

README.kr.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,16 @@ Past Value
6161
- 미국 달러 (USD)
6262

6363
## 설치 방법
64+
### macOS
65+
Homebrew를 사용하여 `cvtr` 을 설치할 수 있습니다:
66+
67+
```shell
68+
brew tap chebread/cvtr
69+
70+
brew install cvtr
71+
```
72+
73+
### 그 외 운영체제
6474
1. `cvtr`[GitHub Releases 페이지](https://github.com/chebread/cvtr/releases)에 방문합니다.
6575
2. 사용 중인 운영체제와 아키텍처에 맞는 파일을 다운로드합니다.
6676
3. 다운로드한 파일의 압축을 해제합니다.

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,15 @@ You can input the <amount> with or without commas in both cvtr convert and cvtr
6060
- US Dollar (USD)
6161

6262
## Installation
63+
### On macOS
64+
You can install `cvtr` with Homebrew:
65+
```shell
66+
brew tap chebread/cvtr
67+
68+
brew install cvtr
69+
```
70+
71+
### For other OS
6372
1. Visit [the GitHub Releases page](https://github.com/chebread/cvtr/releases) for `cvtr`.
6473
2. Download the appropriate file for your operating system and architecture.
6574
3. Unachive the downloaded file.

0 commit comments

Comments
 (0)