Skip to content

Commit

Permalink
ci: disable automatic semantic-release
Browse files Browse the repository at this point in the history
From this point, releases will be manual.
  • Loading branch information
vdmit11 committed Mar 19, 2024
1 parent 3206a05 commit 7851b81
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,3 @@ jobs:
- name: Run tests
run: |
poetry run pytest
release:
needs: tests
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, 'generated by python-semantic-release')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install Python packages
run: pip install poetry python-semantic-release
- name: Release
run: |
git config --global user.name "Dmitry Vasilyanov"
git config --global user.email "[email protected]"
semantic-release publish -D commit_author="Dmitry Vasilyanov <[email protected]>"
env:
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
PYPI_TOKEN: ${{secrets.PYPI_TOKEN}}

0 comments on commit 7851b81

Please sign in to comment.