Use the following guidelines for making a new release for Biolink Model.
Before making a release, be sure to check that all tests on master
branch are running properly.
Identify whether the release is either a Major release, Minor release or a Patch release.
This can be determined by investigating what changed between the previous release tag
and the latest commit on the master
branch.
Update the version
in biolink-model.yaml to reflect the new release (if not already up-to-date).
Commit the changes to master
branch.
Wait for all the artifacts to be regenerated.
Update ChangeLog and add the changes that are part of this release.
Commit the changes to master
branch.
Update setup.py to capture the new version.
Commit the changes to master
branch.
Go to GitHub Releases and draft a new release.
Be sure to add the changes from the ChangeLog to the description of the release.
Checkout master Pull any updates merge master into 'latest' branch Push latest branch
To ensure this is successful, make sure you have relevant permissions to biolink-model package on PyPI.
Also, be sure to install twine and wheel
Now, run the following commands:
rm -rf dist/
python setup.py sdist bdist_wheel
twine upload --repository-url https://upload.pypi.org/legacy/ --username __token__ dist/*