diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b65b84f8..84bb623e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,15 +30,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ inputs.PYTHON_VERSION }} - - name: Add and Commit Version - run: | - poetry version ${{ inputs.RELEASE_TAG }} - git add ./pyproject.toml - git config --global user.name "Release Bot" - git config --global user.email "cgdevx@cloudgeometry.io" - git commit -m "Change version to ${{ inputs.RELEASE_TAG }}" --allow-empty - git push origin - shell: bash + - run: poetry version ${{ inputs.RELEASE_TAG }} - run: poetry install - run: poetry config pypi-token.pypi "${{ secrets.PYPI_TOKEN }}" - name: Publish package