Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 241f176

Browse files
author
Jack Ye
committed
Update how to release instructions with more details
1 parent 45e8aca commit 241f176

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

landing-page/content/common/how-to-release.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ Therefore, the release candidate is passed/rejected.
220220

221221
### Finishing the release
222222

223+
#### Apache release
224+
223225
After the release vote has passed, you need to release the last candidate's artifacts.
224226

225227
First, copy the source release directory to releases:
@@ -235,13 +237,40 @@ svn add apache-iceberg-<VERSION>
235237
svn ci -m 'Iceberg: Add release <VERSION>'
236238
```
237239

240+
#### GitHub release
241+
238242
Next, add a release tag to the git repository based on the passing candidate tag:
239243

240244
```bash
241245
git tag -am 'Release Apache Iceberg <VERSION>' apache-iceberg-<VERSION> apache-iceberg-<VERSION>-rcN
246+
git push apache apache-iceberg-<VERSION>
247+
```
248+
249+
Then create a new GitHub release in https://github.com/apache/iceberg/releases from the release version tag.
250+
251+
Next, clean up each RC tag with:
252+
253+
```bash
254+
git push --delete apache apache-iceberg-<VERSION>-rcN
242255
```
243256

244-
Then release the candidate repository in [Nexus](https://repository.apache.org/#stagingRepositories).
257+
For each major or minor version release,
258+
publish the release branch with a `.x` in the end.
259+
For example, for 1.2.0 release we do:
260+
261+
```bash
262+
git checkout -b 1.2.x apache-iceberg-1.2.0
263+
git push apache 1.2.x
264+
```
265+
266+
#### Maven release
267+
268+
1. Go to [Nexus](https://repository.apache.org/) and log in
269+
2. In the menu on the left, choose "Staging Repositories"
270+
3. Select the Iceberg repository that was previously closed and passed vote
271+
4. At the top, select "Release" and follow the instructions
272+
273+
#### Announcement email
245274

246275
To announce the release, wait until Maven central has mirrored the Apache binaries, then update the Iceberg site and send an announcement email:
247276

0 commit comments

Comments
 (0)