Skip to content

[Release] dev/release/release.sh uploads not only source archive but also binary artifacts #604

@kou

Description

@kou

Describe the bug, including details regarding any error messages, version, and platform.

release_id="apache-arrow-java-${version}"
dist_url="https://dist.apache.org/repos/dist/release/arrow"
dist_base_dir="dev/release/dist"
dist_dir="${dist_base_dir}/${release_id}"
echo "Checking out ${dist_url}"
rm -rf "${dist_base_dir}"
svn co --depth=empty "${dist_url}" "${dist_base_dir}"
gh release download "${rc_tag}" \
--repo "${repository}" \
--dir "${dist_dir}" \
--skip-existing
echo "Uploading to release/"
pushd "${dist_base_dir}"
svn add "${release_id}"
svn ci -m "Apache Arrow Java ${version}"
popd
rm -rf "${dist_base_dir}"
uploads all assets in https://github.com/apache/arrow-java/releases/tag/v18.2.0-rc5 to https://dist.apache.org/repos/dist/release/arrow/ .

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions