When a release candidate (RC) is published for a vote, community members are encouraged to verify it before casting their vote.
curlgpgshasum or sha512sumtarWe provide a script that automates the entire verification process:
dev/release/verify_rc.sh ${VERSION} ${RC}
For example, to verify RC0 of version 0.3.0:
dev/release/verify_rc.sh 0.3.0 0
The script performs the following checks:
If everything passes, you will see:
RC looks good!
If you prefer to verify manually:
VERSION=0.3.0 RC=0 BASE_URL="https://dist.apache.org/repos/dist/dev/iceberg/apache-iceberg-cpp-${VERSION}-rc${RC}" curl -O "${BASE_URL}/apache-iceberg-cpp-${VERSION}.tar.gz" curl -O "${BASE_URL}/apache-iceberg-cpp-${VERSION}.tar.gz.asc" curl -O "${BASE_URL}/apache-iceberg-cpp-${VERSION}.tar.gz.sha512"
# Import KEYS curl https://downloads.apache.org/iceberg/KEYS | gpg --import # Verify GPG signature gpg --verify apache-iceberg-cpp-${VERSION}.tar.gz.asc apache-iceberg-cpp-${VERSION}.tar.gz # Verify SHA-512 checksum shasum -a 512 -c apache-iceberg-cpp-${VERSION}.tar.gz.sha512
tar xf apache-iceberg-cpp-${VERSION}.tar.gz cd apache-iceberg-cpp-${VERSION} cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DICEBERG_BUILD_STATIC=ON -DICEBERG_BUILD_SHARED=ON cmake --build build ctest --test-dir build --output-on-failure