Code Review
/
dcaegen2
/
platform
/
cli.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update DCAE Committer in INFO.yaml
[dcaegen2/platform/cli.git]
/
mvn-phase-script.sh
diff --git
a/mvn-phase-script.sh
b/mvn-phase-script.sh
index
bf0396b
..
0944b91
100755
(executable)
--- a/
mvn-phase-script.sh
+++ b/
mvn-phase-script.sh
@@
-39,8
+39,15
@@
if [ -z "$SETTINGS_FILE" ]; then
fi
fi
+set -e
+RELEASE_TAG=${MVN_RELEASE_TAG:-R6}
+if [ "$RELEASE_TAG" != "R1" ]; then
+ RELEASE_TAGGED_DIR="${RELEASE_TAG}/"
+else
+ RELEASE_TAGGED_DIR="releases"
+fi
if ! wget -O ${PROJECT_ROOT}/mvn-phase-lib.sh \
if ! wget -O ${PROJECT_ROOT}/mvn-phase-lib.sh \
- "$MVN_RAWREPO_BASEURL_DOWNLOAD"/org.onap.dcaegen2.utils/
R2/
scripts/mvn-phase-lib.sh; then
+ "$MVN_RAWREPO_BASEURL_DOWNLOAD"/org.onap.dcaegen2.utils/
${RELEASE_TAGGED_DIR}
scripts/mvn-phase-lib.sh; then
echo "Fail to download mvn-phase-lib.sh"
exit 1
fi
echo "Fail to download mvn-phase-lib.sh"
exit 1
fi