Skip to content

Commit bcdb2dd

Browse files
author
Bubunyo Nyavor
committed
add releaser github actions
1 parent 20f271f commit bcdb2dd

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

.github/workflows/release.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: goreleaser
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
goreleaser:
10+
runs-on: ubuntu-latest
11+
steps:
12+
-
13+
name: Checkout
14+
uses: actions/checkout@v3
15+
with:
16+
fetch-depth: 0
17+
-
18+
name: Set up Go
19+
uses: actions/setup-go@v3
20+
-
21+
name: Run GoReleaser
22+
uses: goreleaser/goreleaser-action@v3
23+
with:
24+
# either 'goreleaser' (default) or 'goreleaser-pro'
25+
distribution: goreleaser
26+
version: latest
27+
args: release --rm-dist
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
31+
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
Type `git recent` to see your latest local git branches, use you arrow keys to select a branch, hit enter to switch branches
44

5+
## Prerequisites
6+
7+
You must have `git` installed
8+
9+
510
## Usage
611

712
git recent
@@ -14,7 +19,7 @@ or copy `git-recent` into an existing included path like `/usr/local/bin` or `~/
1419

1520
On Mac, you can install with homebrew:
1621

17-
brew install git-recent
22+
brew install git-recent-select
1823

1924

2025
## License

0 commit comments

Comments
 (0)