Fix wrong release artifacts URL (#302) v2.2.1
authorSutou Kouhei <kou@clear-code.com>
Tue, 8 Mar 2022 00:07:18 +0000 (09:07 +0900)
committerGitHub <noreply@github.com>
Tue, 8 Mar 2022 00:07:18 +0000 (09:07 +0900)
fix #301

We should not add "apache-" prefix in
https://dist.apache.org/repos/dist/release/arrow/ because other
releases don't have "apache-" prefix.

dev/release/release.sh

index 4f54eb28f524cc166ce97f0749a5b4eb9c9a8b47..9de9ee627368cc9e145cef8d7041a493344da52b 100755 (executable)
@@ -28,13 +28,14 @@ fi
 version=$1
 rc=$2
 
-id="apache-arrow-julia-${version}"
+rc_id="apache-arrow-julia-${version}-rc${rc}"
+release_id="arrow-julia-${version}"
 echo "Copying dev/ to release/"
 svn \
   cp \
   -m "Apache Arrow Julia ${version}" \
-  https://dist.apache.org/repos/dist/dev/arrow/${id}-rc${rc} \
-  https://dist.apache.org/repos/dist/release/arrow/${id}
+  https://dist.apache.org/repos/dist/dev/arrow/${rc_id} \
+  https://dist.apache.org/repos/dist/release/arrow/${release_id}
 
 echo "Success! The release is available here:"
-echo "  https://dist.apache.org/repos/dist/release/arrow/${id}"
+echo "  https://dist.apache.org/repos/dist/release/arrow/${release_id}"