diff options
author | Lisa Revel <lr0306@att.com> | 2017-03-08 19:53:38 +0000 |
---|---|---|
committer | Lisa Revel <lr0306@att.com> | 2017-03-08 19:53:38 +0000 |
commit | c46f90b569d63f1fa1c727c263c609f3348c9c6e (patch) | |
tree | f56b8a1625a2154466a4d2222675da6ade2476c4 | |
parent | d1b2b1841eb269717e3e5262913eff8e41df9320 (diff) |
Incorporate release debian dir
Change-Id: I42eebaa0cdb53e4766596361fabc571aacb472a4
Signed-off-by: Lisa Revel <lr0306@att.com>
-rwxr-xr-x | script-pgaas-deb-build.sh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/script-pgaas-deb-build.sh b/script-pgaas-deb-build.sh index f628ccd..f09dd4e 100755 --- a/script-pgaas-deb-build.sh +++ b/script-pgaas-deb-build.sh @@ -30,14 +30,18 @@ PASS=$(xpath -q -e \ export NETRC=$(mktemp) echo "machine nexus.openecomp.org login ${USER} password ${PASS}" > "${NETRC}" -REPO="${NEXUS_RAW}/org.openecomp.dcae.pgaas/deb-snapshots" +case "$phase" in + verify|merge ) REPO="${NEXUS_RAW}/org.openecomp.dcae.pgaas/deb-snapshots" ;; + release ) REPO="${NEXUS_RAW}/org.openecomp.dcae.pgaas/deb-releases" ;; +esac export REPACKAGEDEBIANUPLOAD="set -x; echo curl -k --netrc-file '${NETRC}' \ --upload-file '{0}' '${REPO}/{2}-{1}'" -export REPACKAGEDEBIANUPLOAD3="set -x; echo curl -k --netrc-file '${NETRC}' \ - --upload-file '{0}' '${REPO}/{2}-{4}-SNAPSHOT.deb'" +#export REPACKAGEDEBIANUPLOAD3="set -x; echo curl -k --netrc-file '${NETRC}' \ +# --upload-file '{0}' '${REPO}/{2}-{4}-SNAPSHOT.deb'" export REPACKAGEDEBIANUPLOAD2="set -x; echo curl -k --netrc-file '${NETRC}' \ - --upload-file '{0}' '${REPO}/{2}-{4}-LATEST.deb'" + --upload-file '{0}' '${REPO}/{2}-{4}.deb'" + case "$phase" in verify ) make debian-verify ;; merge ) make debian ;; |