Files
auth/.goreleaser.yml

38 lines
959 B
YAML

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