You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by we...@apache.org on 2018/07/27 15:31:38 UTC

[arrow] branch master updated: ARROW-2921: [Release] Update .deb/.rpm changelogs in preparation

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

wesm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 4ba2d19  ARROW-2921: [Release] Update .deb/.rpm changelogs in preparation
4ba2d19 is described below

commit 4ba2d19c08ac9c808af4c684087a6b45cd9cd5e0
Author: Kouhei Sutou <ko...@clear-code.com>
AuthorDate: Fri Jul 27 11:31:31 2018 -0400

    ARROW-2921: [Release] Update .deb/.rpm changelogs in preparation
    
    NOTE: We need to add more changelog entries for packaging RC because we should use earlier version for RC packages than no-RC packages.
    
    For example, no-RC package should use "0.10.0-1" and RC package should use "0.10.0~rc1-1" (.deb) and "010.0-0.rc1" (.rpm).
    
    It means that we should run `(cd dev/tasks/linux-packages && rake version:update)` for building RC packages. But we don't need to run the command for building no-RC packages.
    
    Author: Kouhei Sutou <ko...@clear-code.com>
    
    Closes #2331 from kou/release-update-linux-packages-versions and squashes the following commits:
    
    f6c51b0c <Kouhei Sutou>  Update .deb/.rpm changelogs in preparation
---
 dev/release/00-prepare.sh | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/dev/release/00-prepare.sh b/dev/release/00-prepare.sh
index 876d12a..7a34477 100755
--- a/dev/release/00-prepare.sh
+++ b/dev/release/00-prepare.sh
@@ -31,6 +31,16 @@ if [ "$#" -eq 2 ]; then
   # Update changelog
   $SOURCE_DIR/update-changelog.sh $version
 
+  echo "Updating .deb/.rpm changelogs for $version"
+  cd $SOURCE_DIR/../tasks/linux-packages
+  rake \
+    version:update \
+    ARROW_RELEASE_TIME="$(date +%Y-%m-%dT%H:%M:%S%z)" \
+    ARROW_VERSION=${version}
+  git add debian*/changelog yum/*.spec.in
+  git commit -m "[Release] Update .deb/.rpm changelogs for $version"
+  cd -
+
   echo "prepare release ${version} on tag ${tag} then reset to version ${nextVersionSNAPSHOT}"
 
   cd "${SOURCE_DIR}/../../java"