diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bca7c0b..8e2439d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,8 +6,9 @@ permissions: on: push: - branches: - - 'releases/**' + tags: + - '*' + env: SERVER: production @@ -29,20 +30,10 @@ jobs: - name: Install Hatch run: pip install --upgrade hatch - - name: Bump version - run: hatch version minor - - - name: Commit version bumb - run: | - git config user.name github-actions - git config user.email github-actions@github.com - git commit -am "Automatic minor version bump" - git push - - name: build run: hatch build - - name: publish + - name: publish-dummy env: HATCH_INDEX_USER: __token__ HATCH_INDEX_AUTH: ${{ secrets.PYPI_TOKEN }}