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 = [
|
ldflags = [
|
||||||
"-s"
|
"-s"
|
||||||
"-w"
|
"-w"
|
||||||
"-X 'build.Name=${pname}'"
|
"-X git.numtide.com/numtide/treefmt/build.Name=${pname}"
|
||||||
"-X 'build.Version=${version}'"
|
"-X git.numtide.com/numtide/treefmt/build.Version=v${version}"
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs =
|
nativeBuildInputs =
|
||||||
|
|
Reference in New Issue
Block a user