- update setup.py version.
- update Dockerfile with new tag version.
- create version commit.
- export $VERSION environment variable:
VERSION=xxxx
- build source distribution:
python setup.py sdist
- upload distribution to pypi:
python -m twine upload dist/petrify-$VERSION.tar.gz
- push to master and tag:
git tag $VERSION
git push origin $VERSION
git push origin master
- build and push docker image:
docker build . --cache-from xxxx -t anirishduck/petrify:$VERSION
docker push anirishduck/petrify:$VERSION
- smoketest demos