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 2019/03/26 16:29:55 UTC

[arrow] branch master updated: ARROW-5011: [Release] Add support in source release script for custom git hash

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 52ca078  ARROW-5011: [Release] Add support in source release script for custom git hash
52ca078 is described below

commit 52ca0788c8636894bd9a6e592e8ee0c4c828a09a
Author: François Saint-Jacques <fs...@gmail.com>
AuthorDate: Tue Mar 26 11:29:46 2019 -0500

    ARROW-5011: [Release] Add support in source release script for custom git hash
    
    This is a minor feature to help debugging said script on a by overriding
    the git-archive hash instead of the hash inferred from the release tag.
    
    Author: François Saint-Jacques <fs...@gmail.com>
    
    Closes #4032 from fsaintjacques/ARROW-5011-release-source-hash and squashes the following commits:
    
    e43f4286d <François Saint-Jacques> ARROW-5011:  Add support in source release script for custom hash
---
 dev/release/02-source.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/release/02-source.sh b/dev/release/02-source.sh
index 97ee576..a784cda 100755
--- a/dev/release/02-source.sh
+++ b/dev/release/02-source.sh
@@ -34,7 +34,7 @@ tagrc=${tag}-rc${rc}
 
 echo "Preparing source for tag ${tag}"
 
-release_hash=`git rev-list $tag 2> /dev/null | head -n 1 `
+: ${release_hash=:`git rev-list $tag 2> /dev/null | head -n 1 `}
 
 if [ -z "$release_hash" ]; then
   echo "Cannot continue: unknown git tag: $tag"