GoogleCloudPlatform / GoogleCloudPlatform/cloud-sql-proxy-operator

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

Đang mở
#144 0 bình luận 0 reaction 1 người được giao Được giao cho @hessjcg Xem trên GitHub
priority: p2 type: feature request
Ngôn ngữ chính
Go
Star
120
Fork
18
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.