-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
38 lines (33 loc) · 989 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
38
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
version: 2
project_name: stargate
includes:
- from_url:
url: https://raw.githubusercontent.com/formancehq/earthly/refs/heads/main/.goreleaser.default.yaml
builds:
- binary: stargate
id: stargate
ldflags:
- -X github.com/formancehq/stack/ee/stargate/cmd.BuildDate={{ .Date }}
- -X github.com/formancehq/stack/ee/stargate/cmd.Version=v{{ .Version }}
- -X github.com/formancehq/stack/ee/stargate/cmd.Commit={{ .ShortCommit }}
- -extldflags "-static"
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
archives:
- id: "{{.ProjectName}}"
builds:
- stargate
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)