mirror of
https://github.com/EchoVault/SugarDB.git
synced 2025-09-26 20:11:15 +08:00
58 lines
955 B
YAML
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:"
|