by jmclnx · 2y ago · 0 comments
Yes, someone said there is a way to get a git tag in the source, but the tag is not as easy to view as "$Id$" thus it is not obvious if it is the latest version.
But, curious he did not mention CVS and RCS :)
As for "$Id$", in bazel you would use https://bazel.build/docs/user-manual#workspace-status which works very well and can differentiate between stable and volatile.
come on, this should be done by your build system. it's pretty silly to not put this tiny amount of work in.