Closed skasberger closed 3 years ago
Pre-Requisites
master
FEATURE_BRANCH
__init__.py
tox -r -e py36
tox -r -e py37
tox -r -e py38
tox -r -e docs
tox -r -e coveralls
tox -r -e dist_install
Create Release
git push origin FEATURE_BRANCH
tox -r -e packaging
python setup.py sdist bdist_wheel
twine check dist/*
twine upload --repository testpypi dist/*
pip install -i https://test.pypi.org/simple/ PACKAGE_NAME
RELEASE_BRANCH
git checkout master
git merge --no-ff RELEASE_BRANCH
tox -e py36
tox -e py37
tox -e py38
tox -e docs
tox -e coverage
tox -e dist_install
tox -e packaging
git push origin master
git tag -a x.y.z -m"Release x.y.z"
git push origin x.y.z
twine upload --repository pypi dist/*
Follow-Ups
develop
git checkout develop
git stash
git merge --no-ff master
Pre-Requisites
master
toFEATURE_BRANCH
__init__.py
tox -r -e py36
tox -r -e py37
tox -r -e py38
tox -r -e docs
tox -r -e coveralls
tox -r -e dist_install
Create Release
git push origin FEATURE_BRANCH
tox -r -e packaging
python setup.py sdist bdist_wheel
twine check dist/*
twine upload --repository testpypi dist/*
pip install -i https://test.pypi.org/simple/ PACKAGE_NAME
RELEASE_BRANCH
tomaster
git checkout master
git merge --no-ff RELEASE_BRANCH
master
tox -e py36
tox -e py37
tox -e py38
tox -e docs
tox -e coverage
tox -e dist_install
tox -e packaging
git push origin master
git tag -a x.y.z -m"Release x.y.z"
git push origin x.y.z
git push origin master
python setup.py sdist bdist_wheel
twine check dist/*
twine upload --repository pypi dist/*
Follow-Ups
master
todevelop
:git checkout develop
git stash
git merge --no-ff master