Skip to content

Commit 1eeae90

Browse files
authored
docs: release docs improvements (#3030)
1 parent 284797f commit 1eeae90

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

mkdocs/docs/how-to-release.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,9 @@ Kind regards,
309309
<!-- prettier-ignore-end -->
310310

311311
```bash
312+
: "${VERSION_WITH_RC:?ERROR: VERSION_WITH_RC is not set or is empty}"
313+
: "${VERSION:?ERROR: VERSION is not set or is empty}"
314+
312315
export SVN_DEV_DIR_VERSIONED="https://dist.apache.org/repos/dist/dev/iceberg/pyiceberg-${VERSION_WITH_RC}"
313316
export SVN_RELEASE_DIR_VERSIONED="https://dist.apache.org/repos/dist/release/iceberg/pyiceberg-${VERSION}"
314317

@@ -337,8 +340,10 @@ The latest version can be pushed to PyPi. Check out the Apache SVN and make sure
337340
<!-- prettier-ignore-end -->
338341

339342
```bash
340-
svn checkout https://dist.apache.org/repos/dist/release/iceberg /tmp/iceberg-dist-release/
343+
svn checkout https://dist.apache.org/repos/dist/release/iceberg/pyiceberg-${VERSION} /tmp/iceberg-dist-release/pyiceberg-${VERSION}
344+
341345
cd /tmp/iceberg-dist-release/pyiceberg-${VERSION}
346+
342347
twine upload pyiceberg-*.whl pyiceberg-*.tar.gz
343348
```
344349

0 commit comments

Comments
 (0)