Skip to content

Commit

Permalink
build(ci): revert to standard semantic release (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
chemelli74 authored Nov 1, 2024
1 parent b64bd73 commit 7c41119
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,19 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.head_ref || github.ref_name }}

# Do a dry run of PSR
- name: Test release
uses: chemelli74/python-semantic-release@3.11
uses: python-semantic-release/python-semantic-release@v9.12.0
if: github.ref_name != 'main'
with:
root_options: --noop
github_token: ${{ secrets.GITHUB_TOKEN }}

# On main branch: actual PSR + upload to PyPI & GitHub
- name: Release
uses: chemelli74/python-semantic-release@3.11
uses: python-semantic-release/python-semantic-release@v9.12.0
id: release
if: github.ref_name == 'main'
with:
Expand Down

0 comments on commit 7c41119

Please sign in to comment.