forked from mirrors/nixpkgs
Merge pull request #171504 from superherointj/updateScript-fluxcd-fix-unbound-variable
fluxcd: 0.29.5 -> 0.30.2
This commit is contained in:
commit
ae21cc8d1f
|
@ -1,9 +1,9 @@
|
||||||
{ lib, buildGoModule, fetchFromGitHub, fetchzip, installShellFiles }:
|
{ lib, buildGoModule, fetchFromGitHub, fetchzip, installShellFiles }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "0.29.5";
|
version = "0.30.2";
|
||||||
sha256 = "1nqi7yk5d66fcjf6kyjivm3cbaqkj36ajgfvjm995q7cla2xyawm";
|
sha256 = "0z4f0vf2n7vfp6ff0lxcl5qyl65ihd4absad8cd16hncz15nyjgl";
|
||||||
manifestsSha256 = "09rq7wiv3ixdp0p8isfp26vikyx523arzdyizi6yb90q6dl6hgc0";
|
manifestsSha256 = "04dlxzlrhggq54nkywn9nwdagdn43f0rb7cjkqdn3hlm4hwd07pb";
|
||||||
|
|
||||||
manifests = fetchzip {
|
manifests = fetchzip {
|
||||||
url =
|
url =
|
||||||
|
@ -23,7 +23,7 @@ in buildGoModule rec {
|
||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-dQV/8NF+sMiEoFr2wtR/oGqqn72JwH/JGbMREHIr/Tw=";
|
vendorSha256 = "sha256-POziJtCdD4klu23WuGmWdt72Ugr4KwCAjXRTCuzikSk=";
|
||||||
|
|
||||||
postUnpack = ''
|
postUnpack = ''
|
||||||
cp -r ${manifests} source/cmd/flux/manifests
|
cp -r ${manifests} source/cmd/flux/manifests
|
||||||
|
@ -65,6 +65,6 @@ in buildGoModule rec {
|
||||||
'';
|
'';
|
||||||
homepage = "https://fluxcd.io";
|
homepage = "https://fluxcd.io";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ jlesquembre bryanasdev000 ];
|
maintainers = with maintainers; [ bryanasdev000 jlesquembre superherointj ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,7 +35,7 @@ if [ ! "$OLD_VERSION" = "$LATEST_VERSION" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# `git` flag here is to be used by local maintainers to speed up the bump process
|
# `git` flag here is to be used by local maintainers to speed up the bump process
|
||||||
if [ "$1" = "git" ]; then
|
if [ $# -eq 1 ] && [ "$1" = "git" ]; then
|
||||||
git switch -c "package-fluxcd-${LATEST_VERSION}"
|
git switch -c "package-fluxcd-${LATEST_VERSION}"
|
||||||
git add "$FLUXCD_PATH"/default.nix
|
git add "$FLUXCD_PATH"/default.nix
|
||||||
git commit -m "fluxcd: ${OLD_VERSION} -> ${LATEST_VERSION}"
|
git commit -m "fluxcd: ${OLD_VERSION} -> ${LATEST_VERSION}"
|
||||||
|
|
Loading…
Reference in a new issue