You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by et...@apache.org on 2023/06/29 15:07:45 UTC

[iceberg] branch master updated: Python: Add `rm -rf dist/` step to how-to-release (#7941)

This is an automated email from the ASF dual-hosted git repository.

etudenhoefner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/master by this push:
     new 2167bddf93 Python: Add `rm -rf dist/` step to how-to-release (#7941)
2167bddf93 is described below

commit 2167bddf9359978e83821bb076fffa8ec0dfc603
Author: Fokko Driesprong <fo...@apache.org>
AuthorDate: Thu Jun 29 17:07:38 2023 +0200

    Python: Add `rm -rf dist/` step to how-to-release (#7941)
---
 python/mkdocs/docs/how-to-release.md | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/python/mkdocs/docs/how-to-release.md b/python/mkdocs/docs/how-to-release.md
index 4b5c6345a9..647799e51e 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 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