mirror of
https://github.com/hanzo-fi/webhooks.git
synced 2026-10-30 20:32:55 +00:00
39 lines
1.0 KiB
YAML
39 lines
1.0 KiB
YAML
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
|
|
version: 2
|
|
project_name: webhooks
|
|
|
|
includes:
|
|
- from_url:
|
|
url: https://raw.githubusercontent.com/formancehq/earthly/refs/heads/main/.goreleaser.default.yaml
|
|
|
|
builds:
|
|
- binary: webhooks
|
|
id: webhooks
|
|
ldflags:
|
|
- -X github.com/formancehq/webhooks/cmd.BuildDate={{ .Date }}
|
|
- -X github.com/formancehq/webhooks/cmd.Version=v{{ .Version }}
|
|
- -X github.com/formancehq/webhooks/cmd.Commit={{ .ShortCommit }}
|
|
- -extldflags "-static"
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
|
|
archives:
|
|
- id: "{{.ProjectName}}"
|
|
builds:
|
|
- webhooks
|
|
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)
|
|
extra_files:
|
|
- glob: ./openapi.yaml |