about summary refs log tree commit diff
path: root/pkgs/applications/networking/cluster/fluxcd
diff options
context:
space:
mode:
authorsuperherointj <5861043+superherointj@users.noreply.github.com>2023-02-22 08:54:53 -0300
committersuperherointj <5861043+superherointj@users.noreply.github.com>2023-02-22 08:56:15 -0300
commit19f12c7d3ad82ac2d79c4b1fd11516754642f097 (patch)
treeacc2e8a55ea6839110a97be2ffb64eda7e1b1da5 /pkgs/applications/networking/cluster/fluxcd
parent1ff31399da2800a426c2fe4bf82d1beac299b7e7 (diff)
fluxcd: 0.39.0 -> 0.40.0
Release: https://github.com/fluxcd/flux2/releases/tag/v0.40.0

* update script: add release note
Diffstat (limited to 'pkgs/applications/networking/cluster/fluxcd')
-rw-r--r--pkgs/applications/networking/cluster/fluxcd/default.nix8
-rwxr-xr-xpkgs/applications/networking/cluster/fluxcd/update.sh4
2 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/applications/networking/cluster/fluxcd/default.nix b/pkgs/applications/networking/cluster/fluxcd/default.nix
index 01f229ca24fc1..ff4db0e9d197c 100644
--- a/pkgs/applications/networking/cluster/fluxcd/default.nix
+++ b/pkgs/applications/networking/cluster/fluxcd/default.nix
@@ -1,9 +1,9 @@
 { lib, buildGoModule, fetchFromGitHub, fetchzip, installShellFiles, stdenv }:
 
 let
-  version = "0.39.0";
-  sha256 = "1mxzafv4p6n2r62nsr4py74z8jw42hm6ypm9kkfw3bfz5db7xhav";
-  manifestsSha256 = "0wri6xzd603ll7ncn4af4xv5px1yg91m133m0dlrrzrb3izgiky0";
+  version = "0.40.0";
+  sha256 = "0wgl3l0zbznsycm5xxnc30w6zf44aj1p6i7ab83ppyz8xnjca24f";
+  manifestsSha256 = "0r1sba1lxws7rqj6kz9nd7g4d7bvigj0cmbivddipgc2l4l1wwzw";
 
   manifests = fetchzip {
     url =
@@ -23,7 +23,7 @@ in buildGoModule rec {
     inherit sha256;
   };
 
-  vendorSha256 = "sha256-IyWXCunOCVDV/OHf3py/g0UbIByYhnIHDlEDxIkBLZI=";
+  vendorSha256 = "sha256-AmAGeJyc7ajDicQEHP9268+H3YpKU8ej6g8zwh+zvTo=";
 
   postUnpack = ''
     cp -r ${manifests} source/cmd/flux/manifests
diff --git a/pkgs/applications/networking/cluster/fluxcd/update.sh b/pkgs/applications/networking/cluster/fluxcd/update.sh
index 2d25eee6f347e..8c80ef9fda344 100755
--- a/pkgs/applications/networking/cluster/fluxcd/update.sh
+++ b/pkgs/applications/networking/cluster/fluxcd/update.sh
@@ -38,7 +38,9 @@ if [ ! "$OLD_VERSION" = "$LATEST_VERSION" ]; then
     if [ $# -eq 1 ] && [ "$1" = "git" ]; then
         git switch -c "package-fluxcd-${LATEST_VERSION}"
         git add "$FLUXCD_PATH"/default.nix
-        git commit -m "fluxcd: ${OLD_VERSION} -> ${LATEST_VERSION}"
+        git commit -m "fluxcd: ${OLD_VERSION} -> ${LATEST_VERSION}
+
+Release: https://github.com/fluxcd/flux2/releases/tag/v${LATEST_VERSION}"
     fi
 else
     echo "fluxcd is already up-to-date at $OLD_VERSION"