Skip to content

Commit

Permalink
ci: 🎡 only incr version for wheel building on push
Browse files Browse the repository at this point in the history
  • Loading branch information
darvid committed Mar 10, 2024
1 parent 1d587d3 commit 9f38e09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Download artifacts
uses: actions/download-artifact@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ jobs:
- name: Increment version if releasing
id: semantic-version
if: github.event_name != 'workflow_call'
run: |
current_version=$(grep '^version =' pyproject.toml | head -1 | cut -d '"' -f 2)
next_version=$(pdm run semantic-release version --patch --print 2>/dev/null)
Expand Down

0 comments on commit 9f38e09

Please sign in to comment.