Skip to content

Commit

Permalink
chore: fix build (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
shrimalmadhur committed Sep 5, 2024
1 parent 3a0acc1 commit 3431a4d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Release (with lint and test)

on:
workflow_dispatch:
push:
tags:
- "*"
Expand Down
1 change: 0 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ builds:
- -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}}'
- -X 'github.com/Layr-Labs/eigenlayer-cli/pkg/rewards.preprodUrl={{.Env.EIGENLAYER_BACKEND_PREPROD_URL}}'
- -X 'github.com/Layr-Labs/eigenlayer-cli/pkg/rewards.mainnetUrl={{.Env.EIGENLAYER_BACKEND_MAINNET_URL}}'
Expand Down
1 change: 1 addition & 0 deletions pkg/telemetry/telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ func isEnabled() bool {
}

func handleTacking(cCtx *cli.Context) {
telemetryToken = os.Getenv("TELEMETRY_TOKEN")
if telemetryToken == "" {
return
}
Expand Down

0 comments on commit 3431a4d

Please sign in to comment.