Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 681 Bytes

RELEASING.md

File metadata and controls

29 lines (18 loc) · 681 Bytes

Release process

Signing key: https://bargen.dev/B993FF98A90C9AB1.txt

Used variables:

export VERSION={VERSION}
export GPG=20EE002D778AE197EF7D0D2CB993FF98A90C9AB1

Update version number:

vim -p setup.py coverage_badge/__main__.py CHANGELOG.md

Do a signed commit and signed tag of the release:

git add setup.py coverage_badge/__main__.py
git commit -S${GPG} -m "Release v${VERSION}"
git tag -u ${GPG} -m "Release v${VERSION}" v${VERSION}

Build source and binary distributions:

python3 setup.py sdist
python3 setup.py bdist_wheel

Upload package to PyPI:

twine3 upload dist/coverage[-_]badge-${VERSION}*
git push
git push --tags