These scripts support local Apache Iceberg Rust release candidate creation and verification.
dev/release/create_rc.sh 0.9.1 2
This creates:
dist/apache-iceberg-rust-0.9.1-rc2/apache-iceberg-rust-0.9.1.tar.gz.asc.sha512v0.9.1-rc.2The license header check runs against the generated source archive, not the live Git worktree. The optional SVN upload runs after local artifact verification and before RC tag creation. The signed RC tag is created as the final release step, then the script prints a draft VOTE email for dev@iceberg.apache.org. The script logs every step before it runs and after it succeeds. If a step fails, it prints the failed step and stops.
The script always archives and tags HEAD, so check out the exact commit to release before running it.
Common options:
dev/release/create_rc.sh 0.9.1 2 --create_rc_tag 0 --sign 0 dev/release/create_rc.sh 0.9.1 2 --upload_svn 1 dev/release/create_rc.sh 0.9.1 2 --check_headers 0 --check_deps 0 --check_publish 0
Defaults:
--dist_dir dist: artifact output root.--create_rc_tag 1: create the signed annotated RC tag as the final release step.--check_headers 1: check Apache license headers against the source archive.--check_deps 1: run dependency license checks before artifact creation.--check_publish 1: dry-run publishing every crate to crates.io before artifact creation.--sign 1: create and verify the detached GPG signature.--upload_svn 0: upload RC artifacts to the ASF dev dist SVN repository.--svn_dist_url https://dist.apache.org/repos/dist/dev/iceberg: SVN directory URL where the RC artifact directory will be uploaded.--sign 1 or --create_rc_tag 1 requires a local GPG secret key. See the website's GPG setup guide before creating a real release candidate.
--check_deps 1 requires cargo-deny. Install it with:
make install-cargo-deny
--check_publish 1 runs cargo publish --workspace --dry-run, which packages and compiles every crate and needs network access to crates.io. Pass --check_publish 0 to skip it when offline or when iterating on the script.
dev/release/verify_rc.sh 0.9.1 2
By default this downloads from https://dist.apache.org/repos/dist/dev/iceberg/apache-iceberg-rust-0.9.1-rc2/, verifies checksum and signature with the local GPG keyring, checks source headers and that every publishable crate packages the root LICENSE and NOTICE, and runs Rust and Python build/tests.
To verify artifacts already created under local dist/:
dev/release/verify_rc.sh 0.9.1 2 --download 0
Common options:
dev/release/verify_rc.sh 0.9.1 2 --verify_signature 0 dev/release/verify_rc.sh 0.9.1 2 --import_gpg_keys 1 dev/release/verify_rc.sh 0.9.1 2 --build 0 --python 0 --check_headers 0 dev/release/verify_rc.sh 0.9.1 2 --check_crate_licenses 0
Defaults:
--dist_dir dist: local artifact root used when --download 0.--download 1: download artifacts from ASF dev dist.--verify_signature 1: verify the .asc signature with the local GPG keyring.--import_gpg_keys 0: download and import Apache Iceberg release keys before signature verification.--check_headers 1: check Apache license headers against the extracted source archive.--check_crate_licenses 1: run dev/release/licenses.py crates check against the extracted source archive, so every publishable crate must package the root LICENSE and NOTICE. Requires cargo and python3.--build 1: build and test the Rust source distribution.--python 1: build and test pyiceberg-core.--tmp_dir <auto>: verification sandbox; auto-created and deleted on success when omitted.After the VOTE passes, convert the approved RC to the official release:
dev/release/release.sh 0.9.1 2
This creates the signed annotated final release tag v0.9.1 from the RC tag v0.9.1-rc.2, then moves the ASF SVN artifacts from dev/iceberg/apache-iceberg-rust-0.9.1-rc2 to release/iceberg/apache-iceberg-rust-0.9.1.
Common options:
dev/release/release.sh 0.9.1 2 --create_release_tag 0 dev/release/release.sh 0.9.1 2 --move_svn 0
Defaults:
--create_release_tag 1: create the signed annotated final release git tag.--move_svn 1: move the RC artifacts from ASF dev dist to ASF release dist.--tag_ref <rc tag commit>: git commit-ish to tag as the final release.--dev_dist_url https://dist.apache.org/repos/dist/dev/iceberg: SVN directory URL containing RC artifact directories.--release_dist_url https://dist.apache.org/repos/dist/release/iceberg: SVN directory URL where final release artifact directories are published.The script does not push the final release tag. Push it manually after reviewing the output:
git push origin "v0.9.1"
Verify every dependency's license is one the project allows:
make check-dependency-licenses
CI also runs this check on every pull request.