Files
gateway/.goreleaser.yml

38 lines
1.0 KiB
YAML

# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
version: 2
project_name: gateway
includes:
- from_url:
url: https://raw.githubusercontent.com/formancehq/earthly/refs/heads/main/.goreleaser.default.yaml
builds:
- binary: gateway
id: gateway
ldflags:
- -X github.com/formancehq/stack/components/gateway/cmd.BuildDate={{ .Date }}
- -X github.com/formancehq/stack/components/gateway/cmd.Version=v{{ .Version }}
- -X github.com/formancehq/stack/components/gateway/cmd.Commit={{ .ShortCommit }}
- -extldflags "-static"
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
archives:
- id: "{{.ProjectName}}"
builds:
- gateway
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 [GitHub Discussions](https://github.com/orgs/formancehq/discussions)