kubernetes-helm: use src.rev
This commit is contained in:
parent
b525a2289d
commit
86beff8c1e
1 changed files with 1 additions and 2 deletions
|
@ -3,7 +3,6 @@
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "kubernetes-helm";
|
pname = "kubernetes-helm";
|
||||||
version = "3.9.3";
|
version = "3.9.3";
|
||||||
gitCommit = "a7c043acb5ff905c261cfdc923a35776ba5e66e4";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "helm";
|
owner = "helm";
|
||||||
|
@ -18,7 +17,7 @@ buildGoModule rec {
|
||||||
"-w"
|
"-w"
|
||||||
"-s"
|
"-s"
|
||||||
"-X helm.sh/helm/v3/internal/version.version=v${version}"
|
"-X helm.sh/helm/v3/internal/version.version=v${version}"
|
||||||
"-X helm.sh/helm/v3/internal/version.gitCommit=${gitCommit}"
|
"-X helm.sh/helm/v3/internal/version.gitCommit=${src.rev}"
|
||||||
];
|
];
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
|
|
Loading…
Reference in a new issue