summaryrefslogtreecommitdiffstats
path: root/ci/build_qemu_rpm_deb/mkversion
diff options
context:
space:
mode:
authorSwati Sharma <swatix.sharma@intel.com>2016-06-29 02:34:43 +0900
committerswatisharma <swatix.sharma@intel.com>2016-07-21 11:16:22 +0530
commit853d63d099ec2f098f1f36350ec0c5095c3f4fd1 (patch)
tree1216f7b689302da485e49a2c964e0f0605e60d1a /ci/build_qemu_rpm_deb/mkversion
parentc715b6029fd5b4eaf323f5efde4ec5db5ba0a9b4 (diff)
Creation of QEMU(rpm and debian builds)
This includes the scripts that are added to create qemu-rpm and qemu-debian builds for KVM4NFV. Co-Authored-By: Gundarapu Reddy <reddyx.gundarapu@intel.com> Signed-off-by: Swati Sharma <swatix.sharma@intel.com>
Diffstat (limited to 'ci/build_qemu_rpm_deb/mkversion')
-rwxr-xr-xci/build_qemu_rpm_deb/mkversion10
1 files changed, 10 insertions, 0 deletions
diff --git a/ci/build_qemu_rpm_deb/mkversion b/ci/build_qemu_rpm_deb/mkversion
new file mode 100755
index 000000000..fa4e585b9
--- /dev/null
+++ b/ci/build_qemu_rpm_deb/mkversion
@@ -0,0 +1,10 @@
+if [ ! -f .version ]
+then
+ touch .version
+ sudo chmod 777 .version
+ echo 1 > .version
+ echo 1
+else
+ expr 0`cat .version` + 1
+ expr 0`cat .version` + 1 > .version
+fi