Merge pull request #306317 from selfuryon/chore/cue-version-fix
cue: fix version format
This commit is contained in:
commit
815e6eb4b9
|
@ -24,7 +24,7 @@ buildGoModule rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
ldflags = [ "-s" "-w" "-X cuelang.org/go/cmd/cue/cmd.version=${version}" ];
|
ldflags = [ "-s" "-w" ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installShellCompletion --cmd cue \
|
installShellCompletion --cmd cue \
|
||||||
|
@ -40,6 +40,7 @@ buildGoModule rec {
|
||||||
version = testers.testVersion {
|
version = testers.testVersion {
|
||||||
package = cue;
|
package = cue;
|
||||||
command = "cue version";
|
command = "cue version";
|
||||||
|
version = "v${version}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user