This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch release-process
in repository https://gitbox.apache.org/repos/asf/sedona.git
The following commit(s) were added to refs/heads/release-process by this push:
new 3c4548e283 Modify publish script for binary file handling
3c4548e283 is described below
commit 3c4548e28367c2c9117f88eec03413ca48fe21af
Author: Jia Yu <[email protected]>
AuthorDate: Mon Sep 8 01:40:43 2025 -0700
Modify publish script for binary file handling
Updated the publish script to create and upload binary release files,
including checksums and signatures.
---
docs/community/publish.md | 23 ++++++++++++++++-------
1 file changed, 16 insertions(+), 7 deletions(-)
diff --git a/docs/community/publish.md b/docs/community/publish.md
index 757c795a3b..ddd1bb0905 100644
--- a/docs/community/publish.md
+++ b/docs/community/publish.md
@@ -250,7 +250,7 @@ svn mkdir -m "Adding folder"
https://dist.apache.org/repos/dist/dev/sedona/${RC_
echo "Creating release files locally..."
# Go back to parent directory for file operations
-cd ..
+cd ../..
echo "Downloading source code..."
@@ -262,6 +262,17 @@ tar czf apache-sedona-${SEDONA_VERSION}-src.tar.gz
apache-sedona-${SEDONA_VERSIO
rm sedona-${RC_VERSION}.tar.gz
rm -rf sedona-sedona-${RC_VERSION}
+# Create checksums and signatures for source files
+shasum -a 512 apache-sedona-${SEDONA_VERSION}-src.tar.gz >
apache-sedona-${SEDONA_VERSION}-src.tar.gz.sha512
+gpg -ab apache-sedona-${SEDONA_VERSION}-src.tar.gz
+
+echo "Uploading source files..."
+
+# Upload source files first
+svn import -m "Adding file" apache-sedona-${SEDONA_VERSION}-src.tar.gz
https://dist.apache.org/repos/dist/dev/sedona/${RC_VERSION}/apache-sedona-${SEDONA_VERSION}-src.tar.gz
+svn import -m "Adding file" apache-sedona-${SEDONA_VERSION}-src.tar.gz.asc
https://dist.apache.org/repos/dist/dev/sedona/${RC_VERSION}/apache-sedona-${SEDONA_VERSION}-src.tar.gz.asc
+svn import -m "Adding file" apache-sedona-${SEDONA_VERSION}-src.tar.gz.sha512
https://dist.apache.org/repos/dist/dev/sedona/${RC_VERSION}/apache-sedona-${SEDONA_VERSION}-src.tar.gz.sha512
+
echo "Compiling the source code..."
mkdir apache-sedona-${SEDONA_VERSION}-bin
@@ -397,16 +408,14 @@ cp
apache-sedona-${SEDONA_VERSION}-src/spark-shaded/target/sedona-*${SEDONA_VERS
rm -f /tmp/mvn-java11 /tmp/mvn-java17
tar czf apache-sedona-${SEDONA_VERSION}-bin.tar.gz
apache-sedona-${SEDONA_VERSION}-bin
-shasum -a 512 apache-sedona-${SEDONA_VERSION}-src.tar.gz >
apache-sedona-${SEDONA_VERSION}-src.tar.gz.sha512
+
+# Create checksums and signatures for binary files
shasum -a 512 apache-sedona-${SEDONA_VERSION}-bin.tar.gz >
apache-sedona-${SEDONA_VERSION}-bin.tar.gz.sha512
-gpg -ab apache-sedona-${SEDONA_VERSION}-src.tar.gz
gpg -ab apache-sedona-${SEDONA_VERSION}-bin.tar.gz
-echo "Uploading local release files..."
+echo "Uploading binary files..."
-svn import -m "Adding file" apache-sedona-${SEDONA_VERSION}-src.tar.gz
https://dist.apache.org/repos/dist/dev/sedona/${RC_VERSION}/apache-sedona-${SEDONA_VERSION}-src.tar.gz
-svn import -m "Adding file" apache-sedona-${SEDONA_VERSION}-src.tar.gz.asc
https://dist.apache.org/repos/dist/dev/sedona/${RC_VERSION}/apache-sedona-${SEDONA_VERSION}-src.tar.gz.asc
-svn import -m "Adding file" apache-sedona-${SEDONA_VERSION}-src.tar.gz.sha512
https://dist.apache.org/repos/dist/dev/sedona/${RC_VERSION}/apache-sedona-${SEDONA_VERSION}-src.tar.gz.sha512
+# Upload binary files
svn import -m "Adding file" apache-sedona-${SEDONA_VERSION}-bin.tar.gz
https://dist.apache.org/repos/dist/dev/sedona/${RC_VERSION}/apache-sedona-${SEDONA_VERSION}-bin.tar.gz
svn import -m "Adding file" apache-sedona-${SEDONA_VERSION}-bin.tar.gz.asc
https://dist.apache.org/repos/dist/dev/sedona/${RC_VERSION}/apache-sedona-${SEDONA_VERSION}-bin.tar.gz.asc
svn import -m "Adding file" apache-sedona-${SEDONA_VERSION}-bin.tar.gz.sha512
https://dist.apache.org/repos/dist/dev/sedona/${RC_VERSION}/apache-sedona-${SEDONA_VERSION}-bin.tar.gz.sha512