diff --git a/python/mkdocs/docs/how-to-release.md b/python/mkdocs/docs/how-to-release.md index 4b5c6345a996..434f3b129066 100644 --- a/python/mkdocs/docs/how-to-release.md +++ b/python/mkdocs/docs/how-to-release.md @@ -44,9 +44,10 @@ export LAST_COMMIT_ID=$(git rev-list ${GIT_TAG} 2> /dev/null | head -n 1) The `-s` option will sign the commit. If you don't have a key yet, you can find the instructions [here](http://www.apache.org/dev/openpgp.html#key-gen-generate-key). To install gpg on a M1 based Mac, a couple of additional steps are required: https://gist.github.com/phortuin/cf24b1cca3258720c71ad42977e1ba57 -Next step is to create a source distribution (`sdist`) which will generate a `.tar.gz` with all the source files. These files need to be uploaded to the Apache SVN. +Next step is to clean remove the `dist/` directory to make sure that we have a clean start. Create a source distribution (`sdist`) which will generate a `.tar.gz` with all the source files using `poetry build`. These files need to be uploaded to the Apache SVN. -``` +```sh +rm -rf dist/ poetry build ``` @@ -94,7 +95,7 @@ poetry build twine upload -s dist/* ``` -Finally step is to generate the email what send to the dev mail list: +Final step is to generate the email to the dev mail list: ```bash cat << EOF > release-announcement-email.txt diff --git a/python/release-announcement-email.txt b/python/release-announcement-email.txt new file mode 100644 index 000000000000..0d07fada23d6 --- /dev/null +++ b/python/release-announcement-email.txt @@ -0,0 +1,32 @@ +To: dev@iceberg.apache.org +Subject: [VOTE] Release Apache PyIceberg 0.4.0 +Hi Everyone, + +I propose that we release the following RC as the official PyIceberg 0.4.0 release. + +The commit ID is 51eaf6806361e6e0a5cd163071dce684ec05350b + +* This corresponds to the tag: pyiceberg-0.4.0rc2 (f81c759835672e956c71280394f432463d25463c) +* https://github.com/apache/iceberg/releases/tag/pyiceberg-0.4.0rc2 +* https://github.com/apache/iceberg/tree/51eaf6806361e6e0a5cd163071dce684ec05350b + +The release tarball, signature, and checksums are here: + +* https://dist.apache.org/repos/dist/dev/iceberg/pyiceberg-0.4.0rc2/ + +You can find the KEYS file here: + +* https://dist.apache.org/repos/dist/dev/iceberg/KEYS + +Convenience binary artifacts are staged on pypi: + +https://pypi.org/project/pyiceberg/0.4.0rc2/ + +And can be installed using: pip3 install pyiceberg==0.4.0rc2 + +Please download, verify, and test. + +Please vote in the next 72 hours. +[ ] +1 Release this as PyIceberg 0.4.0 +[ ] +0 +[ ] -1 Do not release this because...