Skip to content
Merged

Dev #11

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,14 @@ jobs:

# We run versioning and publishing manually via uv to ensure it has access to the environment
uv run semantic-release -v version
uv run semantic-release -v publish

# Set output for the next step
if [ -f ".release_version" ]; then
# Check if a new version was released by looking for built dist files
if [ -d "dist" ] && [ "$(ls -A dist)" ]; then
echo "released=true" >> $GITHUB_OUTPUT
fi

uv run semantic-release -v publish

- name: Publish to PyPI
if: steps.release.outputs.released == 'true'
run: uv publish
Expand Down
Loading