summaryrefslogtreecommitdiffstats
path: root/mvn-phase-script.sh
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2017-10-13 21:45:18 +0000
committerLusheng Ji <lji@research.att.com>2017-10-13 21:45:24 +0000
commit310c9c1b71529a26a99f47852f5c566df8fbc909 (patch)
tree680d9c2b79e99e91f77462146dab079639aad67d /mvn-phase-script.sh
parent2e00e25f9e37e6eada32fbd69570c1129c9549fa (diff)
Add script upload to snapshots
Issue-Id: DCAEGEN2-128 Change-Id: I90d456e43f0ad42f5b34c52476d7993ccc044ff1 Signed-off-by: Lusheng Ji <lji@research.att.com>
Diffstat (limited to 'mvn-phase-script.sh')
-rwxr-xr-xmvn-phase-script.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/mvn-phase-script.sh b/mvn-phase-script.sh
index ab823bf..5fa716a 100755
--- a/mvn-phase-script.sh
+++ b/mvn-phase-script.sh
@@ -45,8 +45,6 @@ if ! wget -O ${PROJECT_ROOT}/mvn-phase-lib.sh \
fi
source "${PROJECT_ROOT}"/mvn-phase-lib.sh
-cat "${PROJECT_ROOT}"/mvn-phase-lib.sh
-
# This is the base for where "deploy" will upload
# MVN_NEXUSPROXY is set in the pom.xml
@@ -97,6 +95,9 @@ test)
package)
echo "==> package phase script"
case $MVN_PROJECT_MODULEID in
+ scripts)
+ upload_files_of_extension "sh" "$MVN_PROJECT_MODULEID"
+ ;;
*)
;;
esac