Merge pull request #158220 from LeSuisse/rekor-0.5.0
rekor-cli, rekor-server: 0.4.0 -> 0.5.0
This commit is contained in:
commit
abc4f15834
1 changed files with 4 additions and 4 deletions
|
@ -4,22 +4,22 @@ let
|
||||||
generic = { pname, packageToBuild, description }:
|
generic = { pname, packageToBuild, description }:
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
inherit pname;
|
inherit pname;
|
||||||
version = "0.4.0";
|
version = "0.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sigstore";
|
owner = "sigstore";
|
||||||
repo = "rekor";
|
repo = "rekor";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-15p4hm4Cvs/yLaQIcxctVdMKRWPjIIFwBcbru6QcjXo=";
|
sha256 = "sha256-y8klkb0hyITxLhcNWF7RYRVwF8rclDKzQF/MJs6y//Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-XCCO4Vamzj5pJFmu1A8mpTLlVAtocrn20myYJVWtBrY=";
|
vendorSha256 = "sha256-0PPdnE3ND/YNIk50XkgBROpe5OhFiFre5Lwsml02DQU=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
subPackages = [ packageToBuild ];
|
subPackages = [ packageToBuild ];
|
||||||
|
|
||||||
ldflags = [ "-s" "-w" "-X github.com/sigstore/rekor/${packageToBuild}/app.GitVersion=v${version}" ];
|
ldflags = [ "-s" "-w" "-X github.com/sigstore/rekor/pkg/api.GitVersion=v${version}" ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installShellCompletion --cmd ${pname} \
|
installShellCompletion --cmd ${pname} \
|
||||||
|
|
Loading…
Reference in a new issue