Creating module Release
When you want to create a new release please follow the below steps (the newest changes need to be placed on the develop
branch):
create a release branch
If you using the
git flow
addon you can execute:git flow release start {version}
, where
{version}
is the value of the new module versionIf not create the release branch manually based on the develop branch (name convention "release/v{version}", where
{version}
is the value of the new module version)
adapt the
openimis-be-api_fhir_py/setup.py
to (at least) bump version number (e.g. 1.2.3)commit and push all new changes
merge
release
branch and create a Github release tag:If you using the
git flow
addon then you can execute the following:git flow release finish git push --tags
And make sure that
master
anddevelop
branches are pushed to a remote serverIf not you need to create tag manually:
git tag -a v1.2.3 -m "v1.2.3" git push --tags
And then you need to merge the
release
branch into master and develop
Checkout to the master branch
Publish a new module version on python repository (https://pypi.org/)
Make sure you use the right python environment if you use virtual environments
Make sure you have an account on https://pypi.org/
Execute the following:
You can check if the module is built successfully
, where
{version}
is the value of the new module versionPublish the latest version:
, where
{version}
is the value of the new module versionIf successfully the latest version should be available here: https://pypi.org/project/openimis-be-api-fhir/#history
Did you encounter a problem or do you have a suggestion?
Please contact our Service Desk
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. https://creativecommons.org/licenses/by-sa/4.0/