You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mkdocs/docs/how-to-release.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ Set the tag on the last commit:
58
58
59
59
```bash
60
60
export RC=rc1
61
-
export VERSION=0.1.0${RC}
61
+
export VERSION=0.7.0${RC}
62
62
export VERSION_WITHOUT_RC=${VERSION/rc?/}
63
63
export VERSION_BRANCH=${VERSION_WITHOUT_RC//./-}
64
64
export GIT_TAG=pyiceberg-${VERSION}
@@ -89,7 +89,11 @@ Both the source distribution (`sdist`) and the binary distributions (`wheels`) n
89
89
90
90
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.
91
91
92
-
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:
92
+
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**.
93
+
94
+

95
+
96
+
Download the zip, and sign the files:
93
97
94
98
```bash
95
99
cd release-main/
@@ -116,12 +120,14 @@ svn ci -m "PyIceberg ${VERSION}" ${SVN_TMP_DIR_VERSIONED}
116
120
117
121
### Upload to PyPi
118
122
119
-
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.
123
+
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.
124
+
125
+

120
126
121
127
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).
122
128
123
129
```bash
124
-
twine upload release-0.1.0rc1/*
130
+
twine upload release-0.7.0rc1/*
125
131
```
126
132
127
133
Final step is to generate the email to the dev mail list:
0 commit comments