Files
SugarDB/.goreleaser.yaml
Kelvin Mwinuka 703ad2a802 Rename the project to SugarDB. (#130)
Renames project to "SugarDB" - @kelvinmwinuka
2024-09-22 21:31:12 +08:00

58 lines
955 B
YAML

version: 2
before:
hooks:
- go mod tidy
- go generate ./...
builds:
- main: ./cmd
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
brews:
- name: sugardb
homepage: https://github.com/EchoVault/SugarDB
repository:
owner: EchoVault
name: Homebrew
commit_author:
name: kelvinmwinuka
email: kelvin@echovault.io
release:
prerelease: auto
universal_binaries:
- replace: true
checksum:
name_template: 'checksums.txt'
archives:
- format: tar.gz
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
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"