Skip to content

Commit

Permalink
Updated tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
jmc-signaturit committed Feb 29, 2024
1 parent 6d0e53d commit a683c66
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 8 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ builds:
ldflags:
- -X main.VERSION={{.Version}}
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: macOS
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- id: mmock
name_template: >-
{{- .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
format_overrides:
- goos: windows
format: zip
Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ vet:
go vet -v ./...

release:
goreleaser --rm-dist
goreleaser --clean

docker-push:
docker build --no-cache=true -t $(NS)/$(PKG_NAME):$(VERSION) .
Expand Down

0 comments on commit a683c66

Please sign in to comment.