From 3021033d42895ff0cecacb8d63d7b4603bd1efc4 Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Tue, 10 Feb 2026 10:33:10 +0800 Subject: [PATCH] improvements --- mkdocs/docs/how-to-release.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mkdocs/docs/how-to-release.md b/mkdocs/docs/how-to-release.md index 52d57a65c0..35ec2ef0f6 100644 --- a/mkdocs/docs/how-to-release.md +++ b/mkdocs/docs/how-to-release.md @@ -309,6 +309,9 @@ Kind regards, ```bash +: "${VERSION_WITH_RC:?ERROR: VERSION_WITH_RC is not set or is empty}" +: "${VERSION:?ERROR: VERSION is not set or is empty}" + export SVN_DEV_DIR_VERSIONED="https://dist.apache.org/repos/dist/dev/iceberg/pyiceberg-${VERSION_WITH_RC}" export SVN_RELEASE_DIR_VERSIONED="https://dist.apache.org/repos/dist/release/iceberg/pyiceberg-${VERSION}" @@ -337,8 +340,10 @@ The latest version can be pushed to PyPi. Check out the Apache SVN and make sure ```bash -svn checkout https://dist.apache.org/repos/dist/release/iceberg /tmp/iceberg-dist-release/ +svn checkout https://dist.apache.org/repos/dist/release/iceberg/pyiceberg-${VERSION} /tmp/iceberg-dist-release/pyiceberg-${VERSION} + cd /tmp/iceberg-dist-release/pyiceberg-${VERSION} + twine upload pyiceberg-*.whl pyiceberg-*.tar.gz ```