Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/cue: revert version string change
In 370fac9 we slightly changed the way that the cue version string is determined. For builds of cmd/cue that resolve the cuelang.org/go as a dependency, the only noticeable change would have been the inclusion of the sum of that module (which is harmless, but arguably superfluous). However for development builds the change meant that we were left with "devel" as the version string: cue version devel linux/amd64 Rather than the now-default +$commit(-dirty)? Go default: cue version +eb18b74c linux/amd64 We need/want the latter, hence we revert this particular change, adding a more explicit comment that the use of the ldflags mechanism to set the version string is legacy. Signed-off-by: Paul Jolly <[email protected]> Change-Id: I26aed99031921a2d32e0fe94a78d9a73089c75c4 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/521406
- Loading branch information