# Release process

Signing key: https://dbrgn.ch/F2F3A5FA.asc

Used variables:

    export VERSION={VERSION}
    export GPG=F2F3A5FA

Update version numbers:

    vim -p setup.py CHANGELOG.md RPLCD/__init__.py docs/conf.py

Do a signed commit and signed tag of the release:

    git add setup.py CHANGELOG.md docs/conf.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

Sign files:

    gpg --detach-sign -u ${GPG} -a dist/RPLCD-${VERSION}.tar.gz
    gpg --detach-sign -u ${GPG} -a dist/RPLCD-${VERSION}-py2.py3-none-any.whl

Upload package to PyPI:

    twine3 upload dist/RPLCD-${VERSION}*
    git push
    git push --tags

# Release process

Signing key: 3578F667F2F3A5FA (https://keybase.io/dbrgn)

Used variables:

    export VERSION={VERSION}
    export GPG=3578F667F2F3A5FA

Update version numbers:

    vim -p setup.py CHANGELOG.md RPLCD/__init__.py docs/conf.py

Do a signed commit and signed tag of the release:

    git add setup.py CHANGELOG.md docs/conf.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

Sign files:

    gpg --detach-sign -u ${GPG} -a dist/RPLCD-${VERSION}.tar.gz
    gpg --detach-sign -u ${GPG} -a dist/RPLCD-${VERSION}-py2.py3-none-any.whl

Upload package to PyPI:

    twine3 upload dist/RPLCD-${VERSION}*
    git push
    git push --tags

Use longer signing key id
Use longer signing key id
