diff options
author | Jiang, Yunhong <yunhong.jiang@intel.com> | 2016-08-23 22:17:42 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-08-23 22:17:42 +0000 |
commit | 76c2ed6659d79ee83c8fc4f00e955268779db826 (patch) | |
tree | 5bbdc58f68f4cd56816dfba3dc8e92a8f9f2a135 /ci/build_rpm/mkversion | |
parent | 2b76a9cbd6c127109286c8705f3347415eb26753 (diff) | |
parent | 7552c26370d38ef5dd182682a0d3bf096661fe0e (diff) |
Merge "OPNFV KVM4NFV CICD: Scripts for creating Rpms & Debians for Kernel, Qemu"
Diffstat (limited to 'ci/build_rpm/mkversion')
-rwxr-xr-x | ci/build_rpm/mkversion | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ci/build_rpm/mkversion b/ci/build_rpm/mkversion new file mode 100755 index 000000000..9668da7e0 --- /dev/null +++ b/ci/build_rpm/mkversion @@ -0,0 +1,10 @@ +if [ ! -f .version ] +then + touch .version + chmod 777 .version + echo 1 > .version + echo 1 +else + expr 0`cat .version` + 1 + expr 0`cat .version` + 1 > .version +fi |