GoogleCloudPlatform / GoogleCloudPlatform/cloud-sql-proxy-operator

chore: Move away from LDFlags embedding for version and git sha, use go embed instead

Open
#144 0 comments 0 reactions 1 assignee Assigned to @hessjcg View on GitHub
priority: p2 type: feature request
Dominant language
Go
Stars
120
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Currently we use LDFLAGS to embed the contents of version.txt and the head SHA from our git repo into the built artifact.
Instead we want to use go embed. Investigate how to do this, and make sure it works properly.

- [ ] Embed the version from version.txt
- [ ] Embed the git sha

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.