Skip to content

Commit

Permalink
chore(test_and_publish.yml): Set up automatic version update
Browse files Browse the repository at this point in the history
  • Loading branch information
Rizhiy committed Dec 18, 2023
1 parent 8d6c3fc commit c24ad6c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/test_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,22 @@ jobs:
run: |
pytest .
release:
runs-on: ubuntu-latest
needs: [check-style, test]
concurrency: release
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install dependencies
run: |
pip install --upgrade pip
pip install python-semantic-release
- name: Update version and push
run: |
semantic-release version
publish:
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
Expand Down

0 comments on commit c24ad6c

Please sign in to comment.