ArchiveBox/bin/bumpver_update_lock.sh
2026-07-29 06:56:18 -07:00

11 lines
238 B
Bash
Executable File

#!/usr/bin/env bash
set -Eeuo pipefail
[[ -z "$(git status --short -- uv.lock)" ]]
uv lock --no-cache
if git diff --quiet -- uv.lock; then
echo "uv lock did not record the bumped ArchiveBox version" >&2
exit 1
fi
git add uv.lock