diff --git a/project.nix b/project.nix index 75cc2527a76926bf6a1455e9fb69a7d2a7a6d298..2cfee2fd0abe07ff62118c2b12b63b35f8ce55dc 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 5827fc932883c66a3895c785dba8f6439234cbda..92f941f3f877e8eed83350cf782af6ebbde9b58b 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" ''