Skip to content

Commit

Permalink
Merge pull request #37 from aspettl/fix-goreleaser
Browse files Browse the repository at this point in the history
Fix goreleaser
  • Loading branch information
aspettl authored Oct 16, 2023
2 parents 03f9278 + 7517a58 commit 418a4f3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
with:
distribution: goreleaser
version: latest
args: release --rm-dist
args: release --clean
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14 changes: 8 additions & 6 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ builds:
ldflags:
- "-X github.com/aspettl/ccliwrapper/cmd.Version={{ .Version }}"
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- name_template: >-
{{- .ProjectName }}_
{{- .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
files:
- README.md
- LICENSE
Expand Down

0 comments on commit 418a4f3

Please sign in to comment.