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
|
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 .
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue