Update version to 3.0.1 for release
[aaf/sms.git] / sms-service / bin / build_sms_image.sh
index 10b5418..ff7c5b0 100755 (executable)
@@ -7,7 +7,7 @@ cd ${DOCKER_BUILD_DIR}
 
 BUILD_ARGS="--no-cache"
 ORG="onap"
-VERSION="3.0.0"
+VERSION="3.0.1"
 PROJECT="aaf"
 IMAGE="sms"
 DOCKER_REPOSITORY="nexus3.onap.org:10003"
@@ -25,7 +25,11 @@ function generate_binary {
     pushd ../src/sms
     make build
     popd
+    pushd ../src/preload
+    make build
+    popd
     cp ../target/sms .
+    cp ../target/preload .
 }
 
 function copy_certificates {
@@ -35,7 +39,7 @@ function copy_certificates {
 }
 
 function cleanup {
-    rm sms
+    rm sms preload
     rm aaf-sms.pub
     rm aaf-sms.pr
     rm aaf_root_ca.cer