Don't block on pyproject modification if the version has already been bumped
All checks were successful
CI / test (push) Successful in 8m44s
Lint / test (push) Successful in 38s
Trivy / test (push) Successful in 19s

This commit is contained in:
Miguel Jacq 2025-12-16 15:28:24 +11:00
parent 492633df9f
commit e6010969cb
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9

View file

@ -21,12 +21,15 @@ if [[ -z "${VERSION}" ]]; then
exit 1 exit 1
fi fi
set +e
sed -i s/version.*$/version\ =\ \"${VERSION}\"/g pyproject.toml sed -i s/version.*$/version\ =\ \"${VERSION}\"/g pyproject.toml
git add pyproject.toml git add pyproject.toml
git commit -m "Bump to ${VERSION}" git commit -m "Bump to ${VERSION}"
git push origin main git push origin main
set -e
# Clean caches etc # Clean caches etc
filedust -y . filedust -y .