Skip to content

Commit

Permalink
fix: Non-incremented version throws a warning but not an error
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscarrollsmith committed May 22, 2024
1 parent a9414fb commit 1b9227f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ jobs:
run: |
poetry publish --build -u __token__ -p $PYPI_TOKEN
if [ $? -ne 0 ]; then
echo "Warning: Version has not been incremented. No new version published."
echo "::warning::Version has not been incremented. No new version published."
exit 0
fi

0 comments on commit 1b9227f

Please sign in to comment.