Don't block on pyproject modification if the version has already been bumped
This commit is contained in:
parent
492633df9f
commit
e6010969cb
1 changed files with 3 additions and 0 deletions
|
|
@ -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 .
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue