summaryrefslogtreecommitdiffstats
path: root/ci/build_rpm/build_rpms_docker.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/build_rpm/build_rpms_docker.sh')
-rwxr-xr-xci/build_rpm/build_rpms_docker.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/ci/build_rpm/build_rpms_docker.sh b/ci/build_rpm/build_rpms_docker.sh
index 8b5c4096..be4064d3 100755
--- a/ci/build_rpm/build_rpms_docker.sh
+++ b/ci/build_rpm/build_rpms_docker.sh
@@ -9,6 +9,7 @@
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
+OPNFV_ARTIFACT_VERSION=$1
rpm_build_dir=/opt/daisy4nfv
rpm_output_dir=$rpm_build_dir/build_output
tmp_rpm_build_dir=/root/daisy4nfv
@@ -47,5 +48,6 @@ do
fi
done
cd ..
-cp target/el7/noarch/installdaisy_el7_noarch.bin $rpm_output_dir
+mv target/el7/noarch/installdaisy_el7_noarch.bin target/el7/noarch/opnfv-$OPNFV_ARTIFACT_VERSION.bin
+cp target/el7/noarch/opnfv-$OPNFV_ARTIFACT_VERSION.bin $rpm_output_dir
exit $rc