mirror of
https://github.com/numtide/treefmt.git
synced 2024-09-11 08:55:33 +03:00
fix: setting build Name and Version
Signed-off-by: Brian McGee <brian@bmcgee.ie>
This commit is contained in:
parent
2ad87c2504
commit
49596b8e08
@ -31,8 +31,8 @@
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X 'build.Name=${pname}'"
|
||||
"-X 'build.Version=${version}'"
|
||||
"-X git.numtide.com/numtide/treefmt/build.Name=${pname}"
|
||||
"-X git.numtide.com/numtide/treefmt/build.Version=v${version}"
|
||||
];
|
||||
|
||||
nativeBuildInputs =
|
||||
|
Loading…
Reference in New Issue
Block a user