Skip to content

Commit 299b889

Browse files
committed
Fixing download_staged_bundle script
1 parent c729e58 commit 299b889

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/release/download_staged_bundles.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
#!/usr/bin/env bash
22
set -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
1011
fi
1112

1213
BASE_URL="${1%/}" # strip trailing /
1314
MODULE_NAME="$2"
1415
TARGET_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

0 commit comments

Comments
 (0)