Note: To release a new Instana package, you must be a project member of the Instana package project on Pypi. Contact Peter Giacomo Lombardo to be added.
- Before releasing, assure that tests have passed and that the package has also been manually validated in various stacks.
git checkout master && git pull --rebase && pip install -U twine
- Bump the package version in
instana/version.py
.git
commit & push the version change to the master branch - Create a draft Release on Github using ./bin/create_general_release.py
- Run
python setup.py sdist bdist_wheel
to create the packages file in./dist/
- Upload the package to Pypi with twine:
twine upload dist/instana-<version>*
- Validate the new release on https://pypi.org/project/instana/
- Update Python documentation with latest changes: https://docs.instana.io/ecosystem/python/
- Publish the draft release on Github
To release a new AWS Lambda layer, see bin/aws-lambda/lambda_build_publish_layer.py
.
./bin/aws-lambda/build_and_publish_lambda_layer.py [-dev|-prod]
./bin/create_lambda_release.py <version>
These scripts assumes that you have the AWS CLI and Github CLI installed and credentials already configured.
Post release, remember to update documentation and the Instana UI.