GoogleCloudPlatform / GoogleCloudPlatform/cloud-sql-proxy-operator

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

未关闭
#144 0 条评论 0 个 reaction 已指派 1 人 已指派给 @hessjcg 在 GitHub 查看
priority: p2 type: feature request
主要语言
Go
星标
120
派生
18
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。