Skip to content

Embed PostHog client key via linker flag#64

Merged
Furisto merged 2 commits into
mainfrom
telemetry-key
Dec 9, 2025
Merged

Embed PostHog client key via linker flag#64
Furisto merged 2 commits into
mainfrom
telemetry-key

Conversation

@Furisto
Copy link
Copy Markdown
Owner

@Furisto Furisto commented Dec 9, 2025

Remove hardcoded PostHog API key from source code and embed it at build time using -ldflags -X.

Furisto and others added 2 commits December 9, 2025 13:51
Remove hardcoded PostHog API key from source code and embed it at build
time using -ldflags -X, following the same pattern used for Version,
GitCommit, and BuildDate. The key is now sourced from the POSTHOG_API_KEY
environment variable during goreleaser builds.

Co-authored-by: construct-agent <noreply@construct.sh>
Repository owner deleted a comment from coderabbitai Bot Dec 9, 2025
@Furisto Furisto merged commit 736e41b into main Dec 9, 2025
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant