This workflow will be triggered when a new tag is pushed that matches a
semantic versioning pattern. If it is pushed to the main repository of
the aiidateam account, a Python script validate_release_tag.py is
run that will parse the __version__ attribute of the package and
compare it to the version of the tag. If they don't match, the workflow
is aborted.
Otherwise, the pre-commit and the unit test suite is ran, and when
successfull, flit is used to build and publish the package to PyPI.
This workflow will be triggered when a new tag is pushed that matches a semantic versioning pattern. If it is pushed to the main repository of the
aiidateam
account, a Python scriptvalidate_release_tag.py
is run that will parse the__version__
attribute of the package and compare it to the version of the tag. If they don't match, the workflow is aborted.Otherwise, the pre-commit and the unit test suite is ran, and when successfull,
flit
is used to build and publish the package to PyPI.