You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by li...@apache.org on 2023/06/15 13:10:06 UTC

[arrow-adbc] branch main updated: chore(dev/release): include Rust, C♯ in version bump (#805)

This is an automated email from the ASF dual-hosted git repository.

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new 6b3911b7 chore(dev/release): include Rust, C♯ in version bump (#805)
6b3911b7 is described below

commit 6b3911b7e6e566c90d5239a79579f3642355496f
Author: David Li <li...@gmail.com>
AuthorDate: Thu Jun 15 09:10:01 2023 -0400

    chore(dev/release): include Rust, C♯ in version bump (#805)
    
    Fixes #804.
---
 dev/release/utils-prepare.sh | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/dev/release/utils-prepare.sh b/dev/release/utils-prepare.sh
index cc6dcde9..2cf5b557 100644
--- a/dev/release/utils-prepare.sh
+++ b/dev/release/utils-prepare.sh
@@ -50,6 +50,10 @@ update_versions() {
   git add meta.yaml
   popd
 
+  sed -i.bak -E "s/version = \".+\"/version = \"${version}\"/" "${ADBC_DIR}/csharp/Directory.Build.props"
+  rm "${ADBC_DIR}/csharp/Directory.Build.props.bak"
+  git add "${ADBC_DIR}/csharp/Directory.Build.props"
+
   sed -i.bak -E "s/release = \".+\"/release = \"${docs_version}\"/g" "${ADBC_DIR}/docs/source/conf.py"
   rm "${ADBC_DIR}/docs/source/conf.py.bak"
   git add "${ADBC_DIR}/docs/source/conf.py"
@@ -76,6 +80,10 @@ update_versions() {
     git add "${desc_file}"
   done
 
+  sed -i.bak -E "s/^version = \".+\"/version = \"${version}\"/" "${ADBC_DIR}/rust/Cargo.toml"
+  rm "${ADBC_DIR}/rust/Cargo.toml.bak"
+  git add "${ADBC_DIR}/rust/Cargo.toml"
+
   if [ ${type} = "release" ]; then
     pushd "${ADBC_DIR}/ci/linux-packages"
     rake version:update VERSION=${version}