Skip to content

Latest commit

 

History

History
80 lines (65 loc) · 1.97 KB

MAINTAINERS.md

File metadata and controls

80 lines (65 loc) · 1.97 KB

For maintainers only

Responsibilities

Please go through this link Maintainer Responsibility

Setup your minio-py Github Repository

Fork minio-py upstream source repository to your own personal repository.

$ git clone [email protected]:minio/minio-py
$ cd minio-py
$ pip install --user --upgrade twine

Modify package version

$ cat minio/__init__.py
...
...
__version__ = '2.2.5'
...
...

Build and verify

$ make
$ python setup.py register
$ python setup.py sdist bdist bdist_wheel

Publishing new packages

Setup your pypirc

Create a new pypirc

$ cat >> $HOME/.pypirc << EOF
[distutils]
index-servers =
    pypi

[pypi]
username:minio
password:**REDACTED**
EOF

Sign

Sign the release artifacts, this step requires you to have access to MinIO's trusted private key.

$ export GNUPGHOME=/media/${USER}/minio/trusted
$ gpg --detach-sign -a dist/minio-2.2.5.tar.gz
$ gpg --detach-sign -a dist/minio-2.2.5.linux-x86_64.tar.gz
$ gpg --detach-sign -a dist/minio-2.2.5-py2.py3-none-any.whl

Upload to pypi

Upload the signed release artifacts, please install twine v1.8.0+ for following steps to work properly.

$ twine upload dist/*

Tag

Tag and sign your release commit, additionally this step requires you to have access to MinIO's trusted private key.

$ export GNUPGHOME=/media/${USER}/minio/trusted
$ git tag -s 2.2.5
$ git push
$ git push --tags

Announce

Announce new release by adding release notes at https://github.com/minio/minio-py/releases from [email protected] account. Release notes requires two sections highlights and changelog. Highlights is a bulleted list of salient features in this release and Changelog contains list of all commits since the last release.

To generate changelog

git log --no-color --pretty=format:'-%d %s (%cr) <%an>' <last_release_tag>..<latest_release_tag>