Skip to content
Merged
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: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,12 @@ jobs:
. .venv-smoke/bin/activate
python -m pip install --upgrade pip
python -m pip install dist/*.tar.gz
python -c "import clarion_plugin_python; assert clarion_plugin_python.__version__ == '1.0.0'"
# Version-agnostic: assert the module constant matches the installed
# distribution metadata (the sdist's packaged version) rather than a
# hardcoded literal, so a release version bump can't silently break
# this smoke gate (clarion-12667da9f5: a hardcoded '1.0.0' here blocked
# the v1.0.1 publish after the binaries built fine).
python -c "import clarion_plugin_python, importlib.metadata as m; v = clarion_plugin_python.__version__; d = m.version('clarion-plugin-python'); assert v == d, f'module {v!r} != dist {d!r}'"
command -v clarion-plugin-python

- name: checksum
Expand Down
Loading