From 8adad94465f515e61c7473389e4e617927f74788 Mon Sep 17 00:00:00 2001 From: Nick Date: Tue, 10 Sep 2024 14:55:58 +0100 Subject: [PATCH] updated pypi upload #2 --- .bumpversion.cfg | 7 +++++++ .github/workflows/pypi_upload.yml | 5 +++++ 2 files changed, 12 insertions(+) create mode 100644 .bumpversion.cfg 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