Skip to content

Commit 92e4f25

Browse files
committed
BUILD/MAJOR: add binary build on tag action
1 parent 0ed2c52 commit 92e4f25

File tree

3 files changed

+37
-4
lines changed

3 files changed

+37
-4
lines changed

.aspell.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@ allowed:
3737
- sed
3838
- stdin
3939
- runnumber
40+
- args

.github/workflows/goreleaser.yml

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+
permissions:
9+
contents: write
10+
11+
jobs:
12+
goreleaser:
13+
runs-on: ubuntu-latest
14+
steps:
15+
-
16+
name: Checkout
17+
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
-
21+
name: Set up Go
22+
uses: actions/setup-go@v5
23+
-
24+
name: Run GoReleaser
25+
uses: goreleaser/goreleaser-action@v6
26+
with:
27+
distribution: goreleaser
28+
version: '~> v2'
29+
args: release --clean
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

aspell/aspell.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@ type Aspell struct {
2424

2525
var (
2626
camelCaseOK = map[string]struct{}{
27-
"HAProxy": {},
28-
"golang": {},
29-
"ascii": {},
30-
"api": {},
27+
"HAProxy": {},
28+
"golang": {},
29+
"ascii": {},
30+
"api": {},
31+
"goreleaser": {},
3132
}
3233
camelCaseNotOK = map[string]struct{}{}
3334
)

0 commit comments

Comments
 (0)