Skip to content

Commit c207cc6

Browse files
FokkoHonahX
authored andcommitted
docs: Add missing release steps (#443)
1 parent ea48360 commit c207cc6

File tree

1 file changed

+29
-3
lines changed

1 file changed

+29
-3
lines changed

mkdocs/docs/how-to-release.md

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,37 @@ cat release-announcement-email.txt
146146

147147
## Vote has passed
148148

149-
Once the vote has been passed, the latest version can be pushed to PyPi. Check out the Apache SVN and make sure to publish the right version with `twine`:
149+
Once the vote has been passed, you can close the vote thread by concluding it:
150+
151+
```
152+
Thanks everyone for voting! The 72 hours have passed, and a minimum of 3 binding votes have been cast:
153+
154+
+1 Foo Bar (non-binding)
155+
...
156+
+1 Fokko Driesprong (binding)
157+
158+
The release candidate has been accepted as PyIceberg <VERSION>. Thanks everyone, when all artifacts are published the announcement will be sent out.
159+
160+
Kind regards,
161+
```
162+
163+
### Copy the artifacts to the release dist
164+
165+
```
166+
svn checkout https://dist.apache.org/repos/dist/dev/iceberg /tmp/iceberg-dist-dev
167+
svn checkout https://dist.apache.org/repos/dist/release/iceberg/ /tmp/iceberg-dist-release
168+
169+
mkdir -p /tmp/iceberg-dist-release/pyiceberg-<VERSION>
170+
cp -r /tmp/iceberg-dist-dev/pyiceberg-<VERSION>rcN/* /tmp/iceberg-dist-release/pyiceberg-<VERSION>
171+
172+
svn add /tmp/iceberg-dist-release/
173+
svn ci -m "PyIceberg <VERSION>" /tmp/iceberg-dist-release/
174+
```
175+
176+
The latest version can be pushed to PyPi. Check out the Apache SVN and make sure to publish the right version with `twine`:
150177

151178
```bash
152-
svn checkout https://dist.apache.org/repos/dist/dev/iceberg /tmp/
153-
twine upload -s /tmp/iceberg/pyiceberg-0.1.0rc1
179+
twine upload -s /tmp/iceberg-dist-release/pyiceberg-<VERSION>/*
154180
```
155181

156182
Send out an announcement on the dev mail list:

0 commit comments

Comments
 (0)