From be2b929b3071c3fc8e3ff6ce4c408189e6bdda01 Mon Sep 17 00:00:00 2001
From: Volker Schukai <volker.schukai@schukai.com>
Date: Mon, 29 Jan 2024 16:43:35 +0100
Subject: [PATCH] fix: test scripts

---
 project.nix                       | 4 ++--
 system/scripts/update-version.nix | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/project.nix b/project.nix
index 75cc252..2cfee2f 100644
--- a/project.nix
+++ b/project.nix
@@ -5,7 +5,7 @@
   supportedSystems = ["x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"];
   compileForSystems = ["linux/arm64" "linux/amd64" "darwin/amd64" "windows/amd64"];
   modulePath = "gitlab.schukai.com/oss/bob";
-  version = "0.4.11"; ## do not change this line; it will be updated automatically
+  version = "0.4.12"; ## do not change this line; it will be updated automatically
   vendorHash = null; ## do not change this line; it will be updated automatically
-  commitHash = "f6b8149"; ## do not change this line; it will be updated automatically
+  commitHash = "26c63f8"; ## do not change this line; it will be updated automatically
 }
diff --git a/system/scripts/update-version.nix b/system/scripts/update-version.nix
index 5827fc9..92f941f 100644
--- a/system/scripts/update-version.nix
+++ b/system/scripts/update-version.nix
@@ -50,6 +50,7 @@ if ! ${pkgs.gnused}/bin/sed -i "s/version\s*=\s*\"[^\"]*\"/version = \"''${VERSI
     exit 1    
 fi
 
+$(${pkgs.git}/bin/git -C ${workingDirectory}/ commit -m "Version and hash updated to ${VERSION} ${HASH}") ${workingDirectory}/project.nix
 echo_ok "Version and hash updated"
 
 ''
-- 
GitLab