diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index c912e59..3db8e5e 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -74,8 +74,11 @@ jobs: twine upload dist/* - name: Create Git tag + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - git config user.name "GitHub Actions" - git config user.email "actions@github.com" + git config --global user.name "GitHub Actions" + git config --global user.email "actions@github.com" + git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }} git tag -a v${{ env.VERSION }} -m "Release version ${{ env.VERSION }}" - git push origin v${{ env.VERSION }} + git push origin v${{ env.VERSION }} \ No newline at end of file diff --git a/version.py b/version.py index c26f122..6023a58 100644 --- a/version.py +++ b/version.py @@ -1,2 +1,2 @@ # version.py -__version__ = "0.2.0" +__version__ = "0.3.0"