diff options
author | Yao Lu <lu.yao135@zte.com.cn> | 2016-11-11 11:43:10 +0800 |
---|---|---|
committer | Yao Lu <lu.yao135@zte.com.cn> | 2016-11-14 08:45:05 +0000 |
commit | 84b8ca064ad2f515b763998958c671ae2318f305 (patch) | |
tree | 10445ca72d07e648f0aae8a2294b61100dfe9394 /ci/build_rpm/build_rpms_docker.sh | |
parent | 293037b6775c4f6147546662640b9e8f88206efd (diff) |
rename daisy bin with gerrit number
Change-Id: I5314a0ba1a7885c334ea939c91eaa6ece074cb0d
Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
Diffstat (limited to 'ci/build_rpm/build_rpms_docker.sh')
-rwxr-xr-x | ci/build_rpm/build_rpms_docker.sh | 4 |
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 |