From 8374ca27bb8ad13be686d689301edef2f4c1fb0f Mon Sep 17 00:00:00 2001 From: Lusheng Ji Date: Fri, 23 Mar 2018 00:20:53 -0400 Subject: Add upload-recursively function Issue-ID: DCAEGEN2-206 Change-Id: I87fd678977fe912030e54c75debad1126f1cf692 Signed-off-by: Lusheng Ji --- scripts/mvn-phase-lib.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/mvn-phase-lib.sh b/scripts/mvn-phase-lib.sh index aa3f637..6f8f2af 100644 --- a/scripts/mvn-phase-lib.sh +++ b/scripts/mvn-phase-lib.sh @@ -428,6 +428,13 @@ upload_files_of_extension() upload_raw_file "$F" "$2" done } +upload_files_of_extension_recursively() +{ + FILES=$(find . -name "*.$1") + for F in $FILES ; do + upload_raw_file "$F" + done +} generate_pypirc_then_publish() -- cgit 1.2.3-korg