Better HN
topnewbestaskshowjobs
Log inSign up

kate_bits

0 karma · joined Aug 10, 2024 (2y ago) · 2 submissions

Submissions

comment 2y ago · link · parent

Maybe I am too prescriptive of your setup, but I don't really see "version: 2.33" making sense. Why not something akin to "version: __BUILD_NUMBER__" being actually checked into your tree, and then your build pipeline filling it in at build time?

Keeping a copy of the build number checked into your source tree seems like asking for trouble when the build number is so intrinsically tied to a single build pipeline run.

comment 2y ago · link · parent

For this specific use case? sed would work just as well and probably already exists in your environment.