copilot-cli: use v${version}
for version
This commit is contained in:
parent
2b4743ca93
commit
5f089dc8db
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,7 @@ buildGoModule rec {
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-s"
|
"-s"
|
||||||
"-w"
|
"-w"
|
||||||
"-X github.com/aws/copilot-cli/internal/pkg/version.Version=${version}"
|
"-X github.com/aws/copilot-cli/internal/pkg/version.Version=v${version}"
|
||||||
"-X github.com/aws/copilot-cli/internal/pkg/cli.binaryS3BucketPath=https://ecs-cli-v2-release.s3.amazonaws.com"
|
"-X github.com/aws/copilot-cli/internal/pkg/cli.binaryS3BucketPath=https://ecs-cli-v2-release.s3.amazonaws.com"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@ buildGoModule rec {
|
||||||
passthru.tests.version = testers.testVersion {
|
passthru.tests.version = testers.testVersion {
|
||||||
package = copilot-cli;
|
package = copilot-cli;
|
||||||
command = "copilot version";
|
command = "copilot version";
|
||||||
|
version = "v${version}";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue