diff --git a/.bumpversion.cfg b/.bumpversion.cfg new file mode 100644 index 0000000..d20496c --- /dev/null +++ b/.bumpversion.cfg @@ -0,0 +1,7 @@ +[bumpversion] +current_version = 0.1.0 +commit = True +tag = True + +[bumpversion:part:release] +first_value = 0 \ No newline at end of file diff --git a/.github/workflows/pypi_upload.yml b/.github/workflows/pypi_upload.yml index 7364aed..a20e3bc 100644 --- a/.github/workflows/pypi_upload.yml +++ b/.github/workflows/pypi_upload.yml @@ -39,6 +39,11 @@ jobs: tag=$(echo ${GITHUB_REF} | sed 's/refs\/tags\///') echo "VERSION=$tag" >> $GITHUB_ENV + - name: Configure Git + run: | + git config --global user.email "actions@github.com" + git config --global user.name "GitHub Actions" + - name: Update version in pyproject.toml run: | # Use bump2version to update version in pyproject.toml