We need to automate the publishing of a new version to PYPI whenever we push changes to master
Proposed solution
Create a new workflow that will trigger whenever a push to master is done, and publish our library to PYPI using poetry publish command. Add a string with current datetime to version as a suffix, so it is different whenever we publish a new one.
Relevant files:
.github/update_dev_version.py - Script to set up new version to use when publishing the library
.github/workflows/release_package.yml - Workflow itself to publish this library
Workflow to publish a new version
We need to automate the publishing of a new version to PYPI whenever we push changes to master
Proposed solution
Create a new workflow that will trigger whenever a push to master is done, and publish our library to PYPI using
poetry publish
command. Add a string with current datetime to version as a suffix, so it is different whenever we publish a new one.Relevant files:
.github/update_dev_version.py
- Script to set up new version to use when publishing the library.github/workflows/release_package.yml
- Workflow itself to publish this library