From e62b5dbde4f968a966326c942b7ec4c02b6117be Mon Sep 17 00:00:00 2001 From: Pavan Kalyan Date: Fri, 27 Dec 2024 10:22:56 +0530 Subject: [PATCH 1/3] added code to fix release_rc.sh --- dev/release/release_rc.sh | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/dev/release/release_rc.sh b/dev/release/release_rc.sh index ac6f0d1..f0426a3 100755 --- a/dev/release/release_rc.sh +++ b/dev/release/release_rc.sh @@ -65,7 +65,7 @@ fi rc_hash="$(git rev-list --max-count=1 "${rc_tag}")" -id="apache-iceberg-go-${version}-rc${rc}" +id="apache-iceberg-go-${version}" tar_gz="${id}.tar.gz" if [ "${RELEASE_SIGN}" -gt 0 ]; then @@ -88,23 +88,28 @@ if [ "${RELEASE_SIGN}" -gt 0 ]; then echo "Found GitHub Actions workflow with ID: ${run_id}" gh run watch --repo "${repository}" --exit-status "${run_id}" + # Create release candidate directory structure + rc_dir="apache-iceberg-go-${version}-rc${rc}" + mkdir -p "${rc_dir}" + echo "Downloading .tar.gz from GitHub Releases" gh release download "${rc_tag}" \ - --dir . \ + --dir "${rc_dir}" \ --pattern "${tar_gz}" \ --repo "${repository}" \ --skip-existing echo "Signing tar.gz and creating checksums" + cd "${rc_dir}" gpg --armor --output "${tar_gz}.asc" --detach-sig "${tar_gz}" + sha512sum "${tar_gz}" > "${tar_gz}.sha512" + cd .. fi if [ "${RELEASE_UPLOAD}" -gt 0 ]; then - echo "Uploading signature" - gh release upload "${rc_tag}" \ - --clobber \ - --repo "${repository}" \ - "${tar_gz}.asc" + echo "Uploading to ASF dist/dev..." + svn mkdir -p "https://dist.apache.org/repos/dist/dev/iceberg/${rc_dir}" --parents + svn import "${rc_dir}" "https://dist.apache.org/repos/dist/dev/iceberg/${rc_dir}" -m "Apache Iceberg Go ${version} RC${rc}" fi echo "Draft email for dev@iceberg.apache.org mailing list" From 70c50d7ac31417f1e130bc8ab675e32f2b3b9888 Mon Sep 17 00:00:00 2001 From: Pavan Kalyan Date: Tue, 31 Dec 2024 18:47:20 +0530 Subject: [PATCH 2/3] updated Readme file --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 58dc718..ccf62cb 100644 --- a/README.md +++ b/README.md @@ -62,18 +62,18 @@ $ cd iceberg-go/cmd/iceberg && go build . | Operation | REST | Hive | DynamoDB | Glue | | :----------------------- | :--: | :--: | :------: | :--: | -| Load Table | | | | X | -| List Tables | | | | X | -| Create Table | | | | | +| Load Table | X | | | X | +| List Tables | X | | | X | +| Create Table | | | | X | | Update Current Snapshot | | | | | | Create New Snapshot | | | | | -| Rename Table | | | | | -| Drop Table | | | | | +| Rename Table | | | | X | +| Drop Table | | | | X | | Alter Table | | | | | | Set Table Properties | | | | | -| Create Namespace | | | | | -| Drop Namespace | | | | | -| Set Namespace Properties | | | | | +| Create Namespace | X | | | X | +| Drop Namespace | X | | | X | +| Set Namespace Properties | X | | | X | ### Read/Write Data Support From 33714dff751c5e6dba6ef7ebfaabe281fac9ac11 Mon Sep 17 00:00:00 2001 From: Pavan Kalyan Date: Tue, 31 Dec 2024 19:00:55 +0530 Subject: [PATCH 3/3] fork chore --- dev/release/release_rc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/release/release_rc.sh b/dev/release/release_rc.sh index bc88645..c09b218 100755 --- a/dev/release/release_rc.sh +++ b/dev/release/release_rc.sh @@ -65,7 +65,7 @@ fi rc_hash="$(git rev-list --max-count=1 "${rc_tag}")" -id="apache-iceberg-go-${version}" +id="apache-iceberg-go-${version}-rc${rc}" tar_gz="${id}.tar.gz" if [ "${RELEASE_SIGN}" -gt 0 ]; then