Skip to content

Commit fe4c61c

Browse files
committed
[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 <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 468d25e) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
1 parent 0356ac7 commit fe4c61c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/create-release/release-tag.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ SELF=$(cd $(dirname $0) && pwd)
2121
. "$SELF/release-util.sh"
2222

2323
function exit_with_usage {
24+
local NAME=$(basename $0)
2425
cat << EOF
25-
usage: tag-release.sh
26+
usage: $NAME
2627
Tags a Spark release on a particular branch.
2728
2829
Inputs are specified with the following environment variables:

0 commit comments

Comments
 (0)