From ff1489ea797cfbe745df907d62c562340231e5b4 Mon Sep 17 00:00:00 2001 From: Neal Richardson Date: Fri, 20 Sep 2019 09:25:10 -0700 Subject: [PATCH] Use regular snapshot version for homebrew formula --- ci/apache-arrow.rb | 2 +- dev/release/00-prepare-test.rb | 4 ++-- dev/release/00-prepare.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ci/apache-arrow.rb b/ci/apache-arrow.rb index 84e993680fcb3..8f08f96df6537 100644 --- a/ci/apache-arrow.rb +++ b/ci/apache-arrow.rb @@ -1,7 +1,7 @@ class ApacheArrow < Formula desc "Columnar in-memory analytics layer designed to accelerate big data" homepage "https://arrow.apache.org/" - url "https://www.apache.org/dyn/closer.cgi?path=arrow/arrow-0.14.1.9000/apache-arrow-0.14.1.9000.tar.gz" + url "https://www.apache.org/dyn/closer.cgi?path=arrow/arrow-0.15.0-SNAPSHOT/apache-arrow-0.15.0-SNAPSHOT.tar.gz" sha256 "9948ddb6d4798b51552d0dca3252dd6e3a7d0f9702714fc6f5a1b59397ce1d28" head "https://github.com/apache/arrow.git" diff --git a/dev/release/00-prepare-test.rb b/dev/release/00-prepare-test.rb index 7671da1b89eaf..8b6c234f4e6e8 100644 --- a/dev/release/00-prepare-test.rb +++ b/dev/release/00-prepare-test.rb @@ -95,7 +95,7 @@ def test_update_version_pre_tag { 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-#{@snapshot_version}/apache-arrow-#{@snapshot_version}.tar.gz\"", "+ url \"https://www.apache.org/dyn/closer.cgi?path=arrow/arrow-#{@release_version}/apache-arrow-#{@release_version}.tar.gz\""], ], }, @@ -259,7 +259,7 @@ def test_update_version_post_tag path: "ci/apache-arrow.rb", hunks: [ ["- url \"https://www.apache.org/dyn/closer.cgi?path=arrow/arrow-#{@release_version}/apache-arrow-#{@release_version}.tar.gz\"", - "+ url \"https://www.apache.org/dyn/closer.cgi?path=arrow/arrow-#{@release_version}.9000/apache-arrow-#{@release_version}.9000.tar.gz\""], + "+ url \"https://www.apache.org/dyn/closer.cgi?path=arrow/arrow-#{@next_snapshot_version}/apache-arrow-#{@next_snapshot_version}.tar.gz\""], ], }, { diff --git a/dev/release/00-prepare.sh b/dev/release/00-prepare.sh index 16747d1f84784..330d6248bb848 100755 --- a/dev/release/00-prepare.sh +++ b/dev/release/00-prepare.sh @@ -60,7 +60,7 @@ update_versions() { rm -f PKGBUILD.bak git add PKGBUILD sed -i.bak -E -e \ - "s/arrow-[0-9.]+[0-9]+/arrow-${r_version}/g" \ + "s/arrow-[0-9.\-]+[0-9SNAPHOT]+/arrow-${version}/g" \ apache-arrow.rb rm -f apache-arrow.rb.bak git add apache-arrow.rb