8 lines
143 B
Bash
Executable File
8 lines
143 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
if git diff --cached --name-only | grep -q "^pyproject\.toml$"; then
|
|
uv lock
|
|
git add uv.lock
|
|
fi
|