Security/ Package Name changes

Issue-ID: PORTAL-174, PORTAL-157, PORTAL-156, PORTAL-148, PORTAL-145,
PORTAL-140, PORTAL-133, PORTAL-121, PORTAL-111, PORTAL-88

Includes security fixes, Role Centralization, replace certain ECOMP
occurrences etc

Change-Id: I3c8b706709c6b92e646e3cbe50c2d660e8a46ef4
Signed-off-by: st782s <statta@research.att.com>
diff --git a/deliveries/os_docker_release.sh b/deliveries/os_docker_release.sh
index 45a1450..2a22fef 100755
--- a/deliveries/os_docker_release.sh
+++ b/deliveries/os_docker_release.sh
@@ -4,8 +4,16 @@
 # be verbose
 set -x
 
+# Establish environment variables
+source $(dirname $0)/.env
+
+if [ -z "$PORTAL_VERSION" ]; then
+    echo "PORTAL_VERSION not set"
+    exit 1
+fi
+
 TIMESTAMP=$(date +%C%y%m%dT%H%M%S)
-export VERSION="1.3.0-STAGING-${TIMESTAMP}"
-export LATEST="1.3-STAGING-latest"
+export VERSION="${PORTAL_VERSION}-STAGING-${TIMESTAMP}"
+export LATEST="${PORTAL_VERSION}-STAGING-latest"
 
 exec ./os_docker_base.sh