This is an automated email from the ASF dual-hosted git repository.
sungwy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-python.git
The following commit(s) were added to refs/heads/main by this push:
new d6011e6b visual aids (#975)
d6011e6b is described below
commit d6011e6b2d5dde6a22b6f9eaac755fd439106474
Author: Sung Yun <[email protected]>
AuthorDate: Tue Jul 30 17:34:46 2024 -0400
visual aids (#975)
Co-authored-by: Sung Yun <[email protected]>
---
.../images/ghactions-run-workflow-pypi-upload.png | Bin 0 -> 221264 bytes
.../images/ghactions-run-workflow-svn-upload.png | Bin 0 -> 218863 bytes
mkdocs/docs/how-to-release.md | 14 ++++++++++----
3 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/mkdocs/docs/assets/images/ghactions-run-workflow-pypi-upload.png
b/mkdocs/docs/assets/images/ghactions-run-workflow-pypi-upload.png
new file mode 100644
index 00000000..3e1476b5
Binary files /dev/null and
b/mkdocs/docs/assets/images/ghactions-run-workflow-pypi-upload.png differ
diff --git a/mkdocs/docs/assets/images/ghactions-run-workflow-svn-upload.png
b/mkdocs/docs/assets/images/ghactions-run-workflow-svn-upload.png
new file mode 100644
index 00000000..4577a2dd
Binary files /dev/null and
b/mkdocs/docs/assets/images/ghactions-run-workflow-svn-upload.png differ
diff --git a/mkdocs/docs/how-to-release.md b/mkdocs/docs/how-to-release.md
index 4824cb99..07e60895 100644
--- a/mkdocs/docs/how-to-release.md
+++ b/mkdocs/docs/how-to-release.md
@@ -58,7 +58,7 @@ Set the tag on the last commit:
```bash
export RC=rc1
-export VERSION=0.1.0${RC}
+export VERSION=0.7.0${RC}
export VERSION_WITHOUT_RC=${VERSION/rc?/}
export VERSION_BRANCH=${VERSION_WITHOUT_RC//./-}
export GIT_TAG=pyiceberg-${VERSION}
@@ -89,7 +89,11 @@ Both the source distribution (`sdist`) and the binary
distributions (`wheels`) n
Before committing the files to the Apache SVN artifact distribution SVN hashes
need to be generated, and those need to be signed with gpg to make sure that
they are authentic.
-Go to [Github Actions and run the `Python release`
action](https://github.com/apache/iceberg-python/actions/workflows/python-release.yml).
**Set the version to main, since we cannot modify the source**. Download the
zip, and sign the files:
+Go to [Github Actions and run the `Python release`
action](https://github.com/apache/iceberg-python/actions/workflows/python-release.yml).
**Set the version to main, since we cannot modify the source**.
+
+
+
+Download the zip, and sign the files:
```bash
cd release-main/
@@ -116,12 +120,14 @@ svn ci -m "PyIceberg ${VERSION}" ${SVN_TMP_DIR_VERSIONED}
### Upload to PyPi
-Go to Github Actions and run the `Python release` action. Set the version of
the release candidate as the input: `0.1.0rc1`. Download the zip and unzip it
locally.
+Go to Github Actions and run the `Python release` action again. This time, set
the **version** of the release candidate as the input: e.g. `0.7.0rc1`.
Download the zip and unzip it locally.
+
+
Next step is to upload them to pypi. Please keep in mind that this **won't**
bump the version for everyone that hasn't pinned their version, since it is set
to an RC [pre-release and those are
ignored](https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#pre-release-versioning).
```bash
-twine upload release-0.1.0rc1/*
+twine upload release-0.7.0rc1/*
```
Final step is to generate the email to the dev mail list: