diff options
-rw-r--r-- | cdf/src/makefile | 2 | ||||
-rw-r--r-- | pgaas-post/src/makefile | 2 | ||||
-rw-r--r-- | pgaas/src/makefile | 2 | ||||
-rw-r--r-- | postgresql-config/src/makefile | 2 | ||||
-rw-r--r-- | postgresql-prep/src/makefile | 2 | ||||
-rwxr-xr-x | script-pgaas-deb-build.sh | 17 | ||||
-rw-r--r-- | version.properties | 6 |
7 files changed, 19 insertions, 14 deletions
diff --git a/cdf/src/makefile b/cdf/src/makefile index e0b33a6..4687dcd 100644 --- a/cdf/src/makefile +++ b/cdf/src/makefile @@ -43,7 +43,7 @@ debian-verify: stage debian: stage repackage -b debian $(REPACKAGEDEBIANOPTS) -d $(INS) -u - repackage -b debian $(REPACKAGEDEBIANOPTS) -d $(INS) -u -B LATEST + # repackage -b debian $(REPACKAGEDEBIANOPTS) -d $(INS) -u -B LATEST @echo debian built diff --git a/pgaas-post/src/makefile b/pgaas-post/src/makefile index b376979..07c260d 100644 --- a/pgaas-post/src/makefile +++ b/pgaas-post/src/makefile @@ -34,7 +34,7 @@ debian-verify: stage debian: stage repackage -y repackage.json -b debian -d $(INS) -u - repackage -y repackage.json -b debian -d $(INS) -u -B LATEST + # repackage -y repackage.json -b debian -d $(INS) -u -B LATEST @echo debian built upload-javadocs: diff --git a/pgaas/src/makefile b/pgaas/src/makefile index eb144b5..e76189a 100644 --- a/pgaas/src/makefile +++ b/pgaas/src/makefile @@ -37,7 +37,7 @@ debian-verify: stage debian: stage repackage -b debian $(REPACKAGEDEBIANOPTS) -d $(INS) -u - repackage -b debian $(REPACKAGEDEBIANOPTS) -d $(INS) -u -B LATEST + # repackage -b debian $(REPACKAGEDEBIANOPTS) -d $(INS) -u -B LATEST @echo debian built upload-javadocs: diff --git a/postgresql-config/src/makefile b/postgresql-config/src/makefile index be34e90..aeaea2b 100644 --- a/postgresql-config/src/makefile +++ b/postgresql-config/src/makefile @@ -35,7 +35,7 @@ debian-verify: stage debian: stage repackage -y repackage.json -b debian -d $(INS) -u - repackage -y repackage.json -b debian -d $(INS) -u -B LATEST + # repackage -y repackage.json -b debian -d $(INS) -u -B LATEST @echo debian built upload-javadocs: diff --git a/postgresql-prep/src/makefile b/postgresql-prep/src/makefile index 94db121..9999fa6 100644 --- a/postgresql-prep/src/makefile +++ b/postgresql-prep/src/makefile @@ -39,7 +39,7 @@ debian-verify: stage debian: stage repackage -y repackage.json -b debian -d $(INS) -u - repackage -y repackage.json -b debian -d $(INS) -u -B LATEST + # repackage -y repackage.json -b debian -d $(INS) -u -B LATEST @echo debian built upload-javadocs: diff --git a/script-pgaas-deb-build.sh b/script-pgaas-deb-build.sh index 3c10a3a..f628ccd 100755 --- a/script-pgaas-deb-build.sh +++ b/script-pgaas-deb-build.sh @@ -30,15 +30,14 @@ PASS=$(xpath -q -e \ export NETRC=$(mktemp) echo "machine nexus.openecomp.org login ${USER} password ${PASS}" > "${NETRC}" -if [ "$phase" == "verify" ]; then - REPO="${NEXUS_RAW}/org.openecomp.dcae.pgaas/deb-snapshots" -else - REPO="${NEXUS_RAW}/org.openecomp.dcae.devnull/deb-snapshots" -fi -export REPACKAGEDEBIANUPLOAD="set -x; curl -k --netrc-file '${NETRC}' \ - --upload-file '{0}' '${REPO}/{2}/{1}'" -export REPACKAGEDEBIANUPLOAD2="set -x; curl -k --netrc-file '${NETRC}' \ - --upload-file '{0}' '${REPO}/{2}/{4}-LATEST.deb'" +REPO="${NEXUS_RAW}/org.openecomp.dcae.pgaas/deb-snapshots" + +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 REPACKAGEDEBIANUPLOAD2="set -x; echo curl -k --netrc-file '${NETRC}' \ + --upload-file '{0}' '${REPO}/{2}-{4}-LATEST.deb'" case "$phase" in verify ) make debian-verify ;; merge ) make debian ;; diff --git a/version.properties b/version.properties new file mode 100644 index 0000000..2ddebb3 --- /dev/null +++ b/version.properties @@ -0,0 +1,6 @@ +major=1 +minor=0 +patch=0 +base_version=${major}.${minor}.${patch} +release_version=${base_version} +snapshot_version=${base_version}-SNAPSHOT |