Repository: kudu Updated Branches: refs/heads/master 17aceda39 -> fc833ca72
Add python release steps to RELEASING.adoc Change-Id: I1cf643b196b9fc324ee78617e2e8fcf664248e14 Reviewed-on: http://gerrit.cloudera.org:8080/9824 Reviewed-by: Adar Dembo <[email protected]> Tested-by: Grant Henke <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/kudu/repo Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/fc833ca7 Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/fc833ca7 Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/fc833ca7 Branch: refs/heads/master Commit: fc833ca729f255a182cf2ca0cd63b54eac98f582 Parents: 17aceda Author: Grant Henke <[email protected]> Authored: Mon Mar 26 14:15:19 2018 -0500 Committer: Grant Henke <[email protected]> Committed: Tue Mar 27 21:23:45 2018 +0000 ---------------------------------------------------------------------- RELEASING.adoc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kudu/blob/fc833ca7/RELEASING.adoc ---------------------------------------------------------------------- diff --git a/RELEASING.adoc b/RELEASING.adoc index 1578b77..7eaa641 100644 --- a/RELEASING.adoc +++ b/RELEASING.adoc @@ -247,6 +247,22 @@ Apache Git repository: repository in link:https://repository.apache.org/#stagingRepositories[Nexus], and click 'Release'. +. Release the Python artifacts. You will need to setup an account on link:https://PyPi.org[PyPi.org] + and ask to be added to the kudu-python PyPi project if you have not done this before. ++ +---- +# Prepare and sign the python source distribution. +cd python +rm -rf dist/* +python setup.py sdist +gpg --detach-sign -a dist/kudu-python-1.x.y.tar.gz +# Upload the distribution to PyPi using twine. +pip install twine +twine upload dist/* +---- +Note: You can upload to the test PyPi by adding +`--repository-url https://test.pypi.org/legacy/` to the twine command. + . Generate the version-specific documentation from that branch following these link:https://github.com/apache/kudu/#updating-the-kudu-web-site-documentation[instructions].
