Skip to content

Commit

Permalink
Attempt to set the homebrew formula arrow version in the release script
Browse files Browse the repository at this point in the history
  • Loading branch information
nealrichardson committed Sep 12, 2019
1 parent 5a57fb3 commit 7281d8e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dev/release/00-prepare-test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@ def test_update_version_pre_tag
"+pkgver=#{@release_version}"],
],
},
{
path: "ci/apache-arrow.rb",
hunks: [
["- url \"https://www.apache.org/dyn/closer.cgi?path=arrow/arrow-#{@previous_version}.9000/apache-arrow-#{@previous_version}.9000.tar.gz\"",
"+ url \"https://www.apache.org/dyn/closer.cgi?path=arrow/arrow-#{@release_version}/apache-arrow-#{@release_version}.tar.gz\""],
],
},
{
path: "cpp/CMakeLists.txt",
hunks: [
Expand Down
5 changes: 5 additions & 0 deletions dev/release/00-prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ update_versions() {
PKGBUILD
rm -f PKGBUILD.bak
git add PKGBUILD
sed -i.bak -E -e \
"s/^ url .+(arrow-[0-9.]+[0-9]+)/arrow-${r_version}/g" \
apache-arrow.rb
rm -f apache-arrow.rb.bak
git add apache-arrow.rb
cd -

cd "${SOURCE_DIR}/../../cpp"
Expand Down

0 comments on commit 7281d8e

Please sign in to comment.