Merge pull request #306317 from selfuryon/chore/cue-version-fix

cue: fix version format
This commit is contained in:
Aleksana 2024-05-01 00:08:32 +08:00 committed by GitHub
commit 815e6eb4b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -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}";
};
};
};