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
+2 -1
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}";
};
};
};