From c4c027c79655be7d1327364e2236d7dfa7c1cd99 Mon Sep 17 00:00:00 2001 From: Andrew Hamilton Date: Tue, 10 Dec 2024 23:21:02 +1000 Subject: [PATCH] packaging: Correctly update uv.lock files. --- packaging/push-new-version | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/push-new-version b/packaging/push-new-version index 1d77e82..0b7e088 100755 --- a/packaging/push-new-version +++ b/packaging/push-new-version @@ -18,11 +18,11 @@ if [ $NEW_VERSION == $CURRENT_VERSION ]; then git push --delete origin $CURRENT_VERSION else git grep --no-color -l $CURRENT_VERSION | xargs sed -i "s/$CURRENT_VERSION/$NEW_VERSION/g" + for DIR in eris fill3 lscolors termstr ; do + cd $DIR; uv sync; cd .. + done git commit --all --message="Update version to $NEW_VERSION" fi -for DIR in eris fill3 lscolors termstr ; do - cd $DIR; uv sync; cd .. -done git tag $NEW_VERSION git push git push --tags