Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Commit

Permalink
ci: fixed issues with goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-cardenas-coding committed May 14, 2023
1 parent 4870e27 commit a75d908
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ before:
- go mod tidy
- go generate ./...
- go vet ./...

builds:
- ldflags: "-s -w -X main.version={{.Version}}"
- env:
env:
- CGO_ENABLED=0
goos:
- linux
Expand All @@ -28,12 +29,15 @@ archives:
{{- if .Arm }}v{{ .Arm }}{{ end }}
_{{ .Tag }}
format_overrides:
- goos: windows
format: zip
- goos: windows
format: zip

checksum:
name_template: 'checksums.txt'

snapshot:
name_template: "{{ incpatch .Version }}"

changelog:
sort: asc
filters:
Expand All @@ -42,8 +46,3 @@ changelog:
- '^test:'
- '^chore:'
- '^ci:'

# The lines beneath this are called `modelines`. See `:help modeline`
# Feel free to remove those if you don't want/use them.
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj

0 comments on commit a75d908

Please sign in to comment.