diff --git a/contrib/_incr_version b/contrib/_incr_version new file mode 100755 index 0000000..447e516 --- /dev/null +++ b/contrib/_incr_version @@ -0,0 +1,5 @@ +#!/bin/sh -eux +sed -i pyproject.toml -e "s/^version = \"${1}\"/version = \"${2}\"/" +sed -i docs/conf.py -e "s/^release = \"${1}\"/release = \"${2}\"/" +git add pyproject.toml docs/conf.py +git commit -m "Update version to ${2}"