From e6010969cb698f91c69399ca4c7059947e38a50d Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Tue, 16 Dec 2025 15:28:24 +1100 Subject: [PATCH] Don't block on pyproject modification if the version has already been bumped --- release.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/release.sh b/release.sh index f086e0c..f416455 100755 --- a/release.sh +++ b/release.sh @@ -21,12 +21,15 @@ if [[ -z "${VERSION}" ]]; then exit 1 fi +set +e sed -i s/version.*$/version\ =\ \"${VERSION}\"/g pyproject.toml git add pyproject.toml git commit -m "Bump to ${VERSION}" git push origin main +set -e + # Clean caches etc filedust -y .