From c207cc6c63d75bf53fe17d93699cf131b24b33ec Mon Sep 17 00:00:00 2001 From: Fokko Driesprong Date: Mon, 19 Feb 2024 19:00:35 +0100 Subject: [PATCH] docs: Add missing release steps (#443) --- mkdocs/docs/how-to-release.md | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/mkdocs/docs/how-to-release.md b/mkdocs/docs/how-to-release.md index 5a2072ec03..e41250a1f9 100644 --- a/mkdocs/docs/how-to-release.md +++ b/mkdocs/docs/how-to-release.md @@ -146,11 +146,37 @@ cat release-announcement-email.txt ## Vote has passed -Once the vote has been passed, the latest version can be pushed to PyPi. Check out the Apache SVN and make sure to publish the right version with `twine`: +Once the vote has been passed, you can close the vote thread by concluding it: + +``` +Thanks everyone for voting! The 72 hours have passed, and a minimum of 3 binding votes have been cast: + ++1 Foo Bar (non-binding) +... ++1 Fokko Driesprong (binding) + +The release candidate has been accepted as PyIceberg . Thanks everyone, when all artifacts are published the announcement will be sent out. + +Kind regards, +``` + +### Copy the artifacts to the release dist + +``` +svn checkout https://dist.apache.org/repos/dist/dev/iceberg /tmp/iceberg-dist-dev +svn checkout https://dist.apache.org/repos/dist/release/iceberg/ /tmp/iceberg-dist-release + +mkdir -p /tmp/iceberg-dist-release/pyiceberg- +cp -r /tmp/iceberg-dist-dev/pyiceberg-rcN/* /tmp/iceberg-dist-release/pyiceberg- + +svn add /tmp/iceberg-dist-release/ +svn ci -m "PyIceberg " /tmp/iceberg-dist-release/ +``` + +The latest version can be pushed to PyPi. Check out the Apache SVN and make sure to publish the right version with `twine`: ```bash -svn checkout https://dist.apache.org/repos/dist/dev/iceberg /tmp/ -twine upload -s /tmp/iceberg/pyiceberg-0.1.0rc1 +twine upload -s /tmp/iceberg-dist-release/pyiceberg-/* ``` Send out an announcement on the dev mail list: