GoogleCloudPlatform / GoogleCloudPlatform/cloud-sql-proxy-operator
chore: Move away from LDFlags embedding for version and git sha, use go embed instead
Open
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
Assessment
This issue has not been assessed yet.