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:47:18 UTC
[spark] branch branch-2.2 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 branch-2.2
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-2.2 by this push:
new a642a6d [MINOR][BUILD] Fix script name in `release-tag.sh` usage message
a642a6d is described below
commit a642a6d0e4b128441629f74d86026c4efa9c2316
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>
(cherry picked from commit 468d25ec7419b4c55955ead877232aae5654260e)
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 bceef70..12f9991 100755
--- a/dev/create-release/release-tag.sh
+++ b/dev/create-release/release-tag.sh
@@ -18,8 +18,9 @@
#
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