ai-agent/.goreleaser.yaml
admin 8dc496b626
Some checks failed
CI / test (push) Has been cancelled
Release / release (push) Failing after 4m36s
first commit
2026-03-08 15:40:34 +07:00

72 lines
1.4 KiB
YAML

version: 2
project_name: ai-agent
before:
hooks:
- go mod tidy
builds:
- id: ai-agent
main: ./cmd/ai-agent
binary: ai-agent
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X main.version={{.Version}}
archives:
- id: default
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
format_overrides:
- goos: windows
formats: [zip]
checksum:
name_template: "checksums.txt"
snapshot:
version_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^ci:"
- "^chore:"
- Merge pull request
- Merge branch
release:
github:
owner: abdul-hamid-achik
name: ai-agent
draft: false
prerelease: auto
name_template: "v{{.Version}}"
brews:
- name: ai-agent
homepage: https://github.com/abdul-hamid-achik/ai-agent
description: "Local AI agent with TUI, powered by Ollama and MCP servers"
license: MIT
directory: Formula
repository:
owner: abdul-hamid-achik
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
install: |
bin.install "ai-agent"
test: |
system "#{bin}/ai-agent", "--version"
skip_upload: "{{ if .Env.HOMEBREW_TAP_TOKEN }}false{{ else }}true{{ end }}"