mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
velero: 1.7.0 -> 1.7.1
also removes GitSHA from velero version output
This commit is contained in:
parent
a7517f61ce
commit
d258ef3ae3
@ -2,26 +2,23 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "velero";
|
pname = "velero";
|
||||||
# When updating, change the commit underneath
|
version = "1.7.1";
|
||||||
version = "1.7.0";
|
|
||||||
commit = "9e52260568430ecb77ac38a677ce74267a8c2176";
|
|
||||||
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "vmware-tanzu";
|
owner = "vmware-tanzu";
|
||||||
repo = "velero";
|
repo = "velero";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-n5Rk+Fyb6yAI5sRZi+WE1KyQZyGryZSP4yd/gmmsQxw=";
|
sha256 = "sha256-Jz3Tp5FqpmPuBscRB0KleQxtCvB43qmeLZNtGPnjuL0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-s" "-w"
|
"-s" "-w"
|
||||||
"-X github.com/vmware-tanzu/velero/pkg/buildinfo.Version=${version}"
|
"-X github.com/vmware-tanzu/velero/pkg/buildinfo.Version=${version}"
|
||||||
"-X github.com/vmware-tanzu/velero/pkg/buildinfo.GitSHA=${commit}"
|
|
||||||
"-X github.com/vmware-tanzu/velero/pkg/buildinfo.GitTreeState=clean"
|
"-X github.com/vmware-tanzu/velero/pkg/buildinfo.GitTreeState=clean"
|
||||||
];
|
];
|
||||||
|
|
||||||
vendorSha256 = "sha256-qsRbwLKNnuQRIsx0+sfOfR2OQ0+el0vptxz7mMew7zY=";
|
vendorSha256 = "sha256-fX9FeoIkxxSi3dl5W2MZLz5vN1VHkPNpTBGRxGP5Qx8=";
|
||||||
|
|
||||||
excludedPackages = [ "issue-template-gen" "crd-gen" "release-tools" "velero-restic-restore-helper" "v1" "v1beta1" ];
|
excludedPackages = [ "issue-template-gen" "crd-gen" "release-tools" "velero-restic-restore-helper" "v1" "v1beta1" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user