arcade-mcp/.github/workflows
Eric Gustin 8795871d51
Check if toolkit version changed before attempting publish (#198)
# PR Description
Changes to a toolkit without changes to the toolkit's version fail the
'Publish Toolkit' workflow with `HTTP Error 400: File already exists
('arcade_zoom-0.1.7.tar.gz', with blake2_256 hash
'02183cda607f06616e7edb17e3d22bc11d1d83b074b3e44066b78ec72602fb37'). See
https://pypi.org/help/#file-name-reuse for more information.`, for
example.

This PR adds the `--skip-existing` flag to `poetry publish` to avoid
attempting to publish an existing version. Skips slack notification if
publish is skipped.


The `grep`'d string comes from
https://github.com/python-poetry/poetry/blob/main/src/poetry/publishing/uploader.py#L246-L249
2025-01-13 10:00:24 -08:00
..
check-toolkits.yml Fix 'Check Toolkits' Workflow (#197) 2025-01-09 10:11:20 -08:00
main.yml Pin poetry to 1.8.5 (#193) 2025-01-07 13:21:55 -08:00
publish-toolkit.yml Check if toolkit version changed before attempting publish (#198) 2025-01-13 10:00:24 -08:00
release-containers.yml Pin poetry to 1.8.5 (#193) 2025-01-07 13:21:55 -08:00
test-toolkits.yml Pin poetry to 1.8.5 (#193) 2025-01-07 13:21:55 -08:00