Skip to content

Commit

Permalink
Merge pull request #13 from kitagry/fix-goreleaser
Browse files Browse the repository at this point in the history
Fix goreleaser
  • Loading branch information
kitagry authored Apr 18, 2024
2 parents 66f4b37 + a14dc59 commit b7628b9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ jobs:
- uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
18 changes: 12 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,21 @@ builds:
- 386

archives:
- replacements:
darwin: darwin
linux: linux
windows: windows
386: i386
amd64: amd64
- rlcp: true
format: tar.gz
format_overrides:
- goos: windows
format: zip
name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
{{- if eq .Os "freebsd" }}FreeBSD
{{- else }}{{ title .Os }}{{ end }}_
{{- if eq .Arch "amd64" }}64bit
{{- else if eq .Arch "386" }}32bit
{{- else if eq .Arch "arm64" }}ARM64
{{- else if eq .Arch "riscv64" }}RISCV
{{- else }}{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ end }}
brews:
- description: Edit and create Kubernetes job from cronjob template using your EDITOR
Expand Down

0 comments on commit b7628b9

Please sign in to comment.