arcade-mcp/.github
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
..
actions/setup-poetry-env Pin poetry to 1.8.5 (#193) 2025-01-07 13:21:55 -08:00
ISSUE_TEMPLATE Update issue templates (#134) 2024-10-30 17:44:22 -07:00
scripts Lint all toolkits (#183) 2024-12-20 09:49:45 -08:00
workflows Check if toolkit version changed before attempting publish (#198) 2025-01-13 10:00:24 -08:00