diff --git a/.versionrc b/.versionrc new file mode 100644 index 0000000..7889a88 --- /dev/null +++ b/.versionrc @@ -0,0 +1,10 @@ +{ + "bumpFiles": [ + { + "filename": "pyproject.toml", + "updater": "scripts/standard-version/pyproject-updater.js" + } + ], + "sign": true, + "tag-prefix": "" +} diff --git a/scripts/patch.sh b/scripts/patch.sh deleted file mode 100644 index e67ca06..0000000 --- a/scripts/patch.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env bash -set -Eeuo pipefail - -if [ -z "$(git status --porcelain)" ]; then - # Working directory clean - branch_name=$(git symbolic-ref -q HEAD) - branch_name=${branch_name##refs/heads/} - branch_name=${branch_name:-HEAD} - - poetry version patch - version=`sed 's/version = "\([0-9]*.[0-9]*.[0-9]*\)"/\1/p' -n