-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
37 lines (33 loc) · 960 Bytes
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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 [Slack server](https://formance.com/slack)