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