You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2019/01/07 06:45:31 UTC

[spark] branch master updated: [MINOR][BUILD] Fix script name in `release-tag.sh` usage message

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 468d25e  [MINOR][BUILD] Fix script name in `release-tag.sh` usage message
468d25e is described below

commit 468d25ec7419b4c55955ead877232aae5654260e
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Sun Jan 6 22:45:18 2019 -0800

    [MINOR][BUILD] Fix script name in `release-tag.sh` usage message
    
    ## What changes were proposed in this pull request?
    
    This PR fixes the old script name in `release-tag.sh`.
    
        $ ./release-tag.sh --help | head -n1
        usage: tag-release.sh
    
    ## How was this patch tested?
    
    Manual.
    
        $ ./release-tag.sh --help | head -n1
        usage: release-tag.sh
    
    Closes #23477 from dongjoon-hyun/SPARK-RELEASE-TAG.
    
    Authored-by: Dongjoon Hyun <do...@apache.org>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 dev/create-release/release-tag.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev/create-release/release-tag.sh b/dev/create-release/release-tag.sh
index 010082d..8024440 100755
--- a/dev/create-release/release-tag.sh
+++ b/dev/create-release/release-tag.sh
@@ -21,8 +21,9 @@ SELF=$(cd $(dirname $0) && pwd)
 . "$SELF/release-util.sh"
 
 function exit_with_usage {
+  local NAME=$(basename $0)
   cat << EOF
-usage: tag-release.sh
+usage: $NAME
 Tags a Spark release on a particular branch.
 
 Inputs are specified with the following environment variables:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org