fix: setting build Name and Version
Signed-off-by: Brian McGee <brian@bmcgee.ie>
This commit is contained in:
parent
2552b2bfd0
commit
2512b7f074
|
@ -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 =
|
||||
|
|
Reference in New Issue
Block a user