diff options
author | Jiang, Yunhong <yunhong.jiang@intel.com> | 2016-07-22 17:19:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-07-22 17:19:19 +0000 |
commit | d1db94c2f5f41d450094b67459a2821154e063bc (patch) | |
tree | eeba6a251cb0d28ad0920af75673a95c35ba4996 /ci/build_qemu_rpm_deb/mkversion | |
parent | d2c75f97c709800d8263d15512f566a38b1e3e87 (diff) | |
parent | 853d63d099ec2f098f1f36350ec0c5095c3f4fd1 (diff) |
Merge "Creation of QEMU(rpm and debian builds)"
Diffstat (limited to 'ci/build_qemu_rpm_deb/mkversion')
-rwxr-xr-x | ci/build_qemu_rpm_deb/mkversion | 10 |
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 |