Skip to content

Commit 41c4aca

Browse files
Add how to verify release doc (#1426)
## Which issue does this PR close? - Closes #1413 . ## What changes are included in this PR? Add doc about how to verify release ## Are these changes tested? No. --------- Co-authored-by: Kevin Liu <kevinjqliu@users.noreply.github.com>
1 parent f1e79c0 commit 41c4aca

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

website/src/release.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,33 @@ ${name}
306306

307307
Example: <https://lists.apache.org/thread/xk5myl10mztcfotn59oo59s4ckvojds6>
308308

309+
## How to verify a release
310+
311+
### Validating a source release
312+
313+
A release contains links to following things:
314+
315+
* A source tarball
316+
* A signature(.asc)
317+
* A checksum(.sha512)
318+
319+
After downloading them, here are the instructions on how to verify them.
320+
321+
* Import keys:
322+
323+
```bash
324+
curl https://downloads.apache.org/iceberg/KEYS -o KEYS
325+
gpg --import KEYS
326+
```
327+
* Verify the `.asc` file: ```gpg --verify apache-iceberg-rust-${iceberg_version}.tar.gz.asc```
328+
* Verify the checksums: ```shasum -a 512 apache-iceberg-rust-${iceberg_version}.tar.gz.sha512```
329+
* Verify build and test:
330+
```bash
331+
tar -xzf apache-iceberg-rust-${iceberg_version}.tar.gz
332+
cd apache-iceberg-rust-${iceberg_version}
333+
make build && make test
334+
```
335+
309336
## Official Release
310337

311338
### Push the release git tag

0 commit comments

Comments
 (0)