From e6ab5700deaa6795ca0729f273d19762320c72e3 Mon Sep 17 00:00:00 2001 From: trev Date: Mon, 12 May 2025 12:26:12 -0400 Subject: [PATCH] fix: check lock and not nix --- .scripts/update.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.scripts/update.sh b/.scripts/update.sh index 58a34fb..9901bda 100755 --- a/.scripts/update.sh +++ b/.scripts/update.sh @@ -6,8 +6,7 @@ updated=false echo "updating nix flake" cd "${git_root}" nix flake update -if ! git diff --exit-code flake.nix; then - git add flake.nix +if ! git diff --exit-code flake.lock; then git add flake.lock git commit -m "build(nix): updated nix dependencies" fi @@ -29,7 +28,7 @@ go mod tidy if ! git diff --exit-code go.mod go.sum; then git add go.mod git add go.sum - git commit -m "build(go): updated go dependencies" + git commit -m "build(server): updated go dependencies" updated=true fi