mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
40 lines
865 B
YAML
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) |