forked from Layr-Labs/eigenlayer-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
32 lines (29 loc) · 843 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
# ref. https://goreleaser.com/customization/build/
version: 2
builds:
- id: eigenlayer-cli
main: ./cmd/eigenlayer/main.go
binary: eigenlayer
flags:
- -v
ldflags:
- -X 'main.version={{.Version}}'
- -X 'github.com/Layr-Labs/eigenlayer-cli/pkg/telemetry.telemetryToken={{ .Env.TELEMETRY_TOKEN }}'
- -X 'github.com/Layr-Labs/eigenlayer-cli/pkg/telemetry.version={{.Version}}'
# windows is ignored by default, as the `goos` field by default only
# contains linux and darwin
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
release:
# Repo in which the release will be created.
# Default is extracted from the origin remote URL or empty if its private hosted.
github:
owner: layr-labs
name: eigenlayer-cli
draft: true