File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -euo pipefail
33
4- if [[ $# -ne 3 ]]; then
4+ if [[ $# -ne 4 ]]; then
55 echo " Usage: $0 <BASE_URL> <MODULE_NAME> <TARGET_ROOT_DIR>"
66 echo " BASE_URL = e.g. https://repository.apache.org/service/local/repositories/orgapachehudi-1168/content/org/apache/hudi/"
77 echo " MODULE_NAME = e.g. hudi-flink2.0-bundle"
88 echo " TARGET_ROOT = e.g. ./target_folder"
9+ echo " RELEASE_VERSION = e.g. 1.1.1-rc1"
910 exit 1
1011fi
1112
1213BASE_URL=" ${1%/ } " # strip trailing /
1314MODULE_NAME=" $2 "
1415TARGET_ROOT=" ${3%/ } " # strip trailing /
15- VERSION=" 1.1.1-rc1 " # <-- change this if needed, or turn into another arg later
16+ VERSION=" $4 " # <-- change this if needed, or turn into another arg later
1617
1718# --------------------------------------------------------------------
1819# Directory layout
You can’t perform that action at this time.
0 commit comments