Skip to content

Commit b7628b9

Browse files
authored
Merge pull request #13 from kitagry/fix-goreleaser
Fix goreleaser
2 parents 66f4b37 + a14dc59 commit b7628b9

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ jobs:
2121
- uses: goreleaser/goreleaser-action@v2
2222
with:
2323
version: latest
24-
args: release --rm-dist
24+
args: release --clean
2525
env:
2626
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}

.goreleaser.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,21 @@ builds:
99
- 386
1010

1111
archives:
12-
- replacements:
13-
darwin: darwin
14-
linux: linux
15-
windows: windows
16-
386: i386
17-
amd64: amd64
12+
- rlcp: true
13+
format: tar.gz
1814
format_overrides:
1915
- goos: windows
2016
format: zip
17+
name_template: >-
18+
{{ .ProjectName }}_
19+
{{- .Version }}_
20+
{{- if eq .Os "freebsd" }}FreeBSD
21+
{{- else }}{{ title .Os }}{{ end }}_
22+
{{- if eq .Arch "amd64" }}64bit
23+
{{- else if eq .Arch "386" }}32bit
24+
{{- else if eq .Arch "arm64" }}ARM64
25+
{{- else if eq .Arch "riscv64" }}RISCV
26+
{{- else }}{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ end }}
2127
2228
brews:
2329
- description: Edit and create Kubernetes job from cronjob template using your EDITOR

0 commit comments

Comments
 (0)