squadron/.goreleaser.yml
2025-03-25 10:42:34 +01:00

48 lines
827 B
YAML

version: 2
project_name: squadron
release:
github:
owner: foomo
name: squadron
prerelease: auto
builds:
- binary: squadron
main: ./cmd/main.go
env:
- CGO_ENABLED=0
goos:
- windows
- darwin
- linux
goarch:
- amd64
- arm64
goarm:
- '7'
flags:
- -trimpath
ldflags:
- -s -w -X github.com/foomo/squadron/cmd/actions.version={{.Version}}
archives:
- format: tar.gz
format_overrides:
- goos: windows
format: zip
changelog:
use: github-native
brews:
- repository:
owner: foomo
name: homebrew-tap
caveats: "squadron -h"
homepage: "https://github.com/foomo/squadron"
description: "CLI utility manage infrastructure as code with helm"
test: |
system "#{bin}/squadron --version"