Files
stack/components/operator/.goreleaser.yml

40 lines
865 B
YAML

project_name: operator
includes:
- from_file:
path: ./../../.goreleaser.default.yaml
monorepo:
tag_prefix: v
dir: ./
builds:
- binary: operator
id: operator
main: ./cmd
ldflags:
- -X github.com/formancehq/operator/cmd.BuildDate={{ .Date }}
- -X github.com/formancehq/operator/cmd.Version=v{{ .Version }}
- -X github.com/formancehq/operator/cmd.Commit={{ .ShortCommit }}
- -extldflags "-static"
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
archives:
- id: "{{.ProjectName}}"
builds:
- operator
format: tar.gz
name_template: "{{.ProjectName}}_{{.Os}}-{{.Arch}}"
release:
prerelease: auto
footer: |
## What to do next?
- Read the [documentation](https://docs.formance.com/)
- Join our [Slack server](https://formance.com/slack)